Mirror von
https://github.com/ViaVersion/ViaVersion.git
synchronisiert 2024-11-03 14:50:30 +01:00
Send new 20w22a tags
Dieser Commit ist enthalten in:
Ursprung
63a81b939d
Commit
796a42c981
@ -184,6 +184,8 @@ public class Protocol1_16To1_15_2 extends Protocol {
|
||||
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.BLOCK, "minecraft:fence_gates", 242, 467, 468, 469, 470, 471);
|
||||
tagRewriter.addTag(TagType.BLOCK, "minecraft:unstable_bottom_center", 242, 467, 468, 469, 470, 471);
|
||||
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");
|
||||
|
@ -104,7 +104,7 @@ public class EntityPackets {
|
||||
public void registerMap() {
|
||||
map(Type.INT); // Entity ID
|
||||
map(Type.UNSIGNED_BYTE); // Gamemode
|
||||
map(Type.NOTHING, new ValueTransformer<Void, String[]>(Type.STRING_ARRAY) { // World list
|
||||
map(Type.NOTHING, new ValueTransformer<Void, String[]>(Type.STRING_ARRAY) { // World list - only used for command completion
|
||||
@Override
|
||||
public String[] transform(PacketWrapper wrapper, Void input) throws Exception {
|
||||
return STRINGS;
|
||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren