This commit is contained in:
Nassim Jahnke 2022-11-09 16:40:14 +01:00
parent 091a63e45d
commit a4261d6d9e
No known key found for this signature in database
GPG Key ID: 6BE3B555EBC5982B
3 changed files with 38 additions and 4 deletions

View File

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

View File

@ -99,6 +99,7 @@ public final class Protocol1_19_1To1_19_3 extends BackwardsProtocol<ClientboundP
final TagRewriter tagRewriter = new TagRewriter(this);
tagRewriter.addEmptyTag(RegistryType.BLOCK, "minecraft:non_flammable_wood");
tagRewriter.addEmptyTag(RegistryType.ITEM, "minecraft:overworld_natural_logs");
tagRewriter.registerGeneric(ClientboundPackets1_19_3.TAGS);
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);
commandRewriter.handleArgument(wrapper, identifier);
if (identifier.equals("minecraft:gamemode")) {
wrapper.write(Type.VAR_INT, 0); // Word
}
if ((flags & 0x10) != 0) {
wrapper.passthrough(Type.STRING); // Suggestion type

View File

@ -664,11 +664,14 @@
"minecraft:bamboo_mosaic_slab": "minecraft:birch_slab[",
"minecraft:bamboo_fence": "minecraft:birch_fence[",
"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": {
"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": {
"hanging_sign": "sign",
@ -798,6 +801,14 @@
"minecraft:wither_spawn_egg": {
"id": "minecraft:squid_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": {
@ -846,7 +857,26 @@
"block.nether_wood_pressure_plate.click_off": "",
"block.nether_wood_pressure_plate.click_on": "",
"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": {
"camel": "Camel"