Mirror von
https://github.com/ViaVersion/ViaVersion.git
synchronisiert 2024-12-28 09:00:09 +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:climbable", 160, 241, 658);
|
||||||
tagRewriter.addTag(TagType.BLOCK, "minecraft:fire", 142);
|
tagRewriter.addTag(TagType.BLOCK, "minecraft:fire", 142);
|
||||||
tagRewriter.addTag(TagType.BLOCK, "minecraft:campfires", 679);
|
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);
|
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
|
// 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:guarded_by_piglins");
|
||||||
|
@ -104,7 +104,7 @@ public class EntityPackets {
|
|||||||
public void registerMap() {
|
public void registerMap() {
|
||||||
map(Type.INT); // Entity ID
|
map(Type.INT); // Entity ID
|
||||||
map(Type.UNSIGNED_BYTE); // Gamemode
|
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
|
@Override
|
||||||
public String[] transform(PacketWrapper wrapper, Void input) throws Exception {
|
public String[] transform(PacketWrapper wrapper, Void input) throws Exception {
|
||||||
return STRINGS;
|
return STRINGS;
|
||||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren