3
0
Mirror von https://github.com/ViaVersion/ViaBackwards.git synchronisiert 2024-11-20 06:50:10 +01:00
Dieser Commit ist enthalten in:
Nassim Jahnke 2022-11-09 16:40:14 +01:00
Ursprung 091a63e45d
Commit a4261d6d9e
Es konnte kein GPG-Schlüssel zu dieser Signatur gefunden werden
GPG-Schlüssel-ID: 6BE3B555EBC5982B
3 geänderte Dateien mit 38 neuen und 4 gelöschten Zeilen

Datei anzeigen

@ -5,7 +5,7 @@ plugins {
allprojects { allprojects {
group = "com.viaversion" group = "com.viaversion"
version = "4.5.0-22w44a-SNAPSHOT" version = "4.5.0-22w45a-SNAPSHOT"
description = "Allow older clients to join newer server versions." description = "Allow older clients to join newer server versions."
} }

Datei anzeigen

@ -99,6 +99,7 @@ public final class Protocol1_19_1To1_19_3 extends BackwardsProtocol<ClientboundP
final TagRewriter tagRewriter = new TagRewriter(this); final TagRewriter tagRewriter = new TagRewriter(this);
tagRewriter.addEmptyTag(RegistryType.BLOCK, "minecraft:non_flammable_wood"); tagRewriter.addEmptyTag(RegistryType.BLOCK, "minecraft:non_flammable_wood");
tagRewriter.addEmptyTag(RegistryType.ITEM, "minecraft:overworld_natural_logs");
tagRewriter.registerGeneric(ClientboundPackets1_19_3.TAGS); tagRewriter.registerGeneric(ClientboundPackets1_19_3.TAGS);
new StatisticsRewriter(this).register(ClientboundPackets1_19_3.STATISTICS); new StatisticsRewriter(this).register(ClientboundPackets1_19_3.STATISTICS);
@ -129,6 +130,9 @@ public final class Protocol1_19_1To1_19_3 extends BackwardsProtocol<ClientboundP
final String identifier = MAPPINGS.getArgumentTypeMappings().identifier(argumentTypeId); final String identifier = MAPPINGS.getArgumentTypeMappings().identifier(argumentTypeId);
commandRewriter.handleArgument(wrapper, identifier); commandRewriter.handleArgument(wrapper, identifier);
if (identifier.equals("minecraft:gamemode")) {
wrapper.write(Type.VAR_INT, 0); // Word
}
if ((flags & 0x10) != 0) { if ((flags & 0x10) != 0) {
wrapper.passthrough(Type.STRING); // Suggestion type wrapper.passthrough(Type.STRING); // Suggestion type

Datei anzeigen

@ -664,11 +664,14 @@
"minecraft:bamboo_mosaic_slab": "minecraft:birch_slab[", "minecraft:bamboo_mosaic_slab": "minecraft:birch_slab[",
"minecraft:bamboo_fence": "minecraft:birch_fence[", "minecraft:bamboo_fence": "minecraft:birch_fence[",
"minecraft:bamboo_fence_gate": "minecraft:birch_fence_gate[", "minecraft:bamboo_fence_gate": "minecraft:birch_fence_gate[",
"minecraft:bamboo_door": "minecraft:birch_door[" "minecraft:bamboo_door": "minecraft:birch_door[",
"minecraft:bamboo_block": "minecraft:birch_wood[",
"minecraft:stripped_bamboo_block": "minecraft:stripped_birch_wood["
}, },
"argumenttypes": { "argumenttypes": {
"minecraft:resource_key": "minecraft:resource_or_tag", "minecraft:resource_key": "minecraft:resource_or_tag",
"minecraft:resource_or_tag_key": "minecraft:resource_or_tag" "minecraft:resource_or_tag_key": "minecraft:resource_or_tag",
"minecraft:gamemode": "brigadier:string"
}, },
"blockentities": { "blockentities": {
"hanging_sign": "sign", "hanging_sign": "sign",
@ -798,6 +801,14 @@
"minecraft:wither_spawn_egg": { "minecraft:wither_spawn_egg": {
"id": "minecraft:squid_spawn_egg", "id": "minecraft:squid_spawn_egg",
"name": "1.19.3 Wither Spawn Egg" "name": "1.19.3 Wither Spawn Egg"
},
"minecraft:bamboo_block": {
"id": "minecraft:birch_wood",
"name": "1.19.3 Bamboo Block"
},
"minecraft:stripped_bamboo_block": {
"id": "minecraft:stripped_birch_wood",
"name": "1.19.3 Stripped Bamboo Block"
} }
}, },
"sounds": { "sounds": {
@ -846,7 +857,26 @@
"block.nether_wood_pressure_plate.click_off": "", "block.nether_wood_pressure_plate.click_off": "",
"block.nether_wood_pressure_plate.click_on": "", "block.nether_wood_pressure_plate.click_on": "",
"block.nether_wood_fence_gate.close": "", "block.nether_wood_fence_gate.close": "",
"block.nether_wood_fence_gate.open": "" "block.nether_wood_fence_gate.open": "",
"block.chiseled_bookshelf.break": "",
"block.chiseled_bookshelf.fall": "",
"block.chiseled_bookshelf.hit": "",
"block.chiseled_bookshelf.insert": "",
"block.chiseled_bookshelf.insert.enchanted": "",
"block.chiseled_bookshelf.step": "",
"block.chiseled_bookshelf.pickup": "",
"block.chiseled_bookshelf.pickup.enchanted": "",
"block.chiseled_bookshelf.place": "",
"block.nether_wood_hanging_sign.step": "",
"block.nether_wood_hanging_sign.break": "",
"block.nether_wood_hanging_sign.fall": "",
"block.nether_wood_hanging_sign.hit": "",
"block.nether_wood_hanging_sign.place": "",
"block.bamboo_wood_hanging_sign.step": "",
"block.bamboo_wood_hanging_sign.break": "",
"block.bamboo_wood_hanging_sign.fall": "",
"block.bamboo_wood_hanging_sign.hit": "",
"block.bamboo_wood_hanging_sign.place": ""
}, },
"entitynames": { "entitynames": {
"camel": "Camel" "camel": "Camel"