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:
Ursprung
c709b019e1
Commit
e39876ae67
@ -152,7 +152,7 @@ public class WorldPackets {
|
||||
if (blockId == 73) { // Note block
|
||||
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.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);
|
||||
}
|
||||
wrapper.set(Type.VAR_INT, 0, blockId);
|
||||
|
@ -154,7 +154,7 @@
|
||||
"384": "minecraft:sandstone",
|
||||
"385": "minecraft:chiseled_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]",
|
||||
"417": "minecraft:red_bed[facing=west,occupied=false,part=foot]",
|
||||
"418": "minecraft:red_bed[facing=north,occupied=false,part=foot]",
|
||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren