mirror of
https://github.com/ViaVersion/ViaVersion.git
synced 2024-11-05 18:20:17 +01:00
20w15a
This commit is contained in:
parent
3c9c61056d
commit
721808d71d
@ -154,7 +154,10 @@ public class MappingDataLoader {
|
||||
Integer index = findIndex(newIdentifiers, value.getAsString());
|
||||
if (index == null) {
|
||||
if (diffIdentifiers != null) {
|
||||
index = findIndex(newIdentifiers, diffIdentifiers.get(value.getAsString()).getAsString());
|
||||
JsonElement diffElement = diffIdentifiers.get(value.getAsString());
|
||||
if (diffElement != null) {
|
||||
index = findIndex(newIdentifiers, diffElement.getAsString());
|
||||
}
|
||||
}
|
||||
if (index == null) {
|
||||
if (warnOnMissing && !Via.getConfig().isSuppressConversionWarnings() || Via.getManager().isDebug()) {
|
||||
|
@ -80,7 +80,7 @@ public class ProtocolVersion {
|
||||
register(v1_15 = new ProtocolVersion(573, "1.15"));
|
||||
register(v1_15_1 = new ProtocolVersion(575, "1.15.1"));
|
||||
register(v1_15_2 = new ProtocolVersion(578, "1.15.2"));
|
||||
register(v1_16 = new ProtocolVersion(710, "1.16"));
|
||||
register(v1_16 = new ProtocolVersion(711, "1.16"));
|
||||
|
||||
register(unknown = new ProtocolVersion(-1, "UNKNOWN"));
|
||||
}
|
||||
|
@ -135,8 +135,10 @@ public class Protocol1_16To1_15_2 extends Protocol {
|
||||
tagRewriter.addTag(TagType.BLOCK, "minecraft:beacon_base_blocks", 133, 134, 148, 265);
|
||||
tagRewriter.addTag(TagType.BLOCK, "minecraft:climbable", 160, 241, 658);
|
||||
tagRewriter.addTag(TagType.BLOCK, "minecraft:fire", 142);
|
||||
tagRewriter.addTag(TagType.BLOCK, "minecraft:campfires", 679);
|
||||
tagRewriter.addTag(TagType.ITEM, "minecraft:beacon_payment_items", 529, 530, 531, 760);
|
||||
// The client crashes if we don't send all tags it may use
|
||||
tagRewriter.addEmptyTag(TagType.BLOCK, "minecraft:guarded_by_piglins");
|
||||
tagRewriter.addEmptyTag(TagType.BLOCK, "minecraft:soul_speed_blocks");
|
||||
tagRewriter.addEmptyTag(TagType.BLOCK, "minecraft:soul_fire_base_blocks");
|
||||
tagRewriter.addEmptyTag(TagType.BLOCK, "minecraft:non_flammable_wood");
|
||||
|
File diff suppressed because it is too large
Load Diff
@ -6,7 +6,8 @@
|
||||
"entity.zombie_pigman.ambient": "entity.zombified_piglin.ambient",
|
||||
"entity.zombie_pigman.angry": "entity.zombified_piglin.angry",
|
||||
"entity.zombie_pigman.death": "entity.zombified_piglin.death",
|
||||
"entity.zombie_pigman.hurt": "entity.zombified_piglin.hurt"
|
||||
"entity.zombie_pigman.hurt": "entity.zombified_piglin.hurt",
|
||||
"music.nether": "music.nether.nether_wastes"
|
||||
},
|
||||
"blockstates": {
|
||||
"5641": "minecraft:cobblestone_wall[east=tall,north=tall,south=tall,up=true,waterlogged=true,west=tall]",
|
||||
|
Loading…
Reference in New Issue
Block a user