3
0
Mirror von https://github.com/ViaVersion/ViaVersion.git synchronisiert 2024-12-26 16:12:42 +01:00

Use unpowered note block

Dieser Commit ist enthalten in:
creeper123123321 2018-08-11 06:54:38 -03:00
Ursprung c709b019e1
Commit e39876ae67
Es konnte kein GPG-Schlüssel zu dieser Signatur gefunden werden
GPG-Schlüssel-ID: 0AC57D54786721D1
2 geänderte Dateien mit 2 neuen und 2 gelöschten Zeilen

Datei anzeigen

@ -152,7 +152,7 @@ public class WorldPackets {
if (blockId == 73) { // Note block if (blockId == 73) { // Note block
PacketWrapper blockChange = wrapper.create(0x0B); // block change PacketWrapper blockChange = wrapper.create(0x0B); // block change
blockChange.write(Type.POSITION, new Position(pos.getX(), pos.getY(), pos.getZ())); // Clone because position is mutable blockChange.write(Type.POSITION, new Position(pos.getX(), pos.getY(), pos.getZ())); // Clone because position is mutable
blockChange.write(Type.VAR_INT, 248 + (action * 24 * 2) + (param * 2)); blockChange.write(Type.VAR_INT, 249 + (action * 24 * 2) + (param * 2));
blockChange.send(Protocol1_13To1_12_2.class, true, true); blockChange.send(Protocol1_13To1_12_2.class, true, true);
} }
wrapper.set(Type.VAR_INT, 0, blockId); wrapper.set(Type.VAR_INT, 0, blockId);

Datei anzeigen

@ -154,7 +154,7 @@
"384": "minecraft:sandstone", "384": "minecraft:sandstone",
"385": "minecraft:chiseled_sandstone", "385": "minecraft:chiseled_sandstone",
"386": "minecraft:cut_sandstone", "386": "minecraft:cut_sandstone",
"400": "minecraft:note_block[instrument=harp,note=0,powered=true]", "400": "minecraft:note_block[instrument=harp,note=0,powered=false]",
"416": "minecraft:red_bed[facing=south,occupied=false,part=foot]", "416": "minecraft:red_bed[facing=south,occupied=false,part=foot]",
"417": "minecraft:red_bed[facing=west,occupied=false,part=foot]", "417": "minecraft:red_bed[facing=west,occupied=false,part=foot]",
"418": "minecraft:red_bed[facing=north,occupied=false,part=foot]", "418": "minecraft:red_bed[facing=north,occupied=false,part=foot]",