Class ServerboundSetJigsawBlockPacket
java.lang.Object
org.geysermc.mcprotocollib.protocol.packet.ingame.serverbound.inventory.ServerboundSetJigsawBlockPacket
- All Implemented Interfaces:
Packet, MinecraftPacket
-
Constructor Summary
ConstructorsConstructorDescriptionServerboundSetJigsawBlockPacket(int x, int y, int z, net.kyori.adventure.key.Key name, net.kyori.adventure.key.Key target, net.kyori.adventure.key.Key pool, String finalState, String jointType, int selectionPriority, int placementPriority) ServerboundSetJigsawBlockPacket(io.netty.buffer.ByteBuf in) -
Method Summary
Modifier and TypeMethodDescriptionprotected booleanbooleannet.kyori.adventure.key.KeygetName()intnet.kyori.adventure.key.KeygetPool()intnet.kyori.adventure.key.KeyintgetX()intgetY()intgetZ()inthashCode()voidserialize(io.netty.buffer.ByteBuf out) @NonNull StringtoString()@NonNull ServerboundSetJigsawBlockPacketwithFinalState(String finalState) @NonNull ServerboundSetJigsawBlockPacketwithJointType(String jointType) @NonNull ServerboundSetJigsawBlockPacketwithName(net.kyori.adventure.key.Key name) @NonNull ServerboundSetJigsawBlockPacketwithPlacementPriority(int placementPriority) @NonNull ServerboundSetJigsawBlockPacketwithPool(net.kyori.adventure.key.Key pool) @NonNull ServerboundSetJigsawBlockPacketwithSelectionPriority(int selectionPriority) @NonNull ServerboundSetJigsawBlockPacketwithTarget(net.kyori.adventure.key.Key target) @NonNull ServerboundSetJigsawBlockPacketwithX(int x) @NonNull ServerboundSetJigsawBlockPacketwithY(int y) @NonNull ServerboundSetJigsawBlockPacketwithZ(int z) Methods inherited from interface Packet
isPriority, isTerminal
-
Constructor Details
-
ServerboundSetJigsawBlockPacket
public ServerboundSetJigsawBlockPacket(io.netty.buffer.ByteBuf in) -
ServerboundSetJigsawBlockPacket
-
-
Method Details
-
serialize
public void serialize(io.netty.buffer.ByteBuf out) - Specified by:
serializein interfaceMinecraftPacket
-
getX
public int getX() -
getY
public int getY() -
getZ
public int getZ() -
getName
public net.kyori.adventure.key.Key getName() -
getTarget
public net.kyori.adventure.key.Key getTarget() -
getPool
public net.kyori.adventure.key.Key getPool() -
getFinalState
-
getJointType
-
getSelectionPriority
public int getSelectionPriority() -
getPlacementPriority
public int getPlacementPriority() -
equals
-
canEqual
-
hashCode
-
toString
-
withX
- Returns:
- a clone of this object, except with this updated property (returns
thisif an identical value is passed).
-
withY
- Returns:
- a clone of this object, except with this updated property (returns
thisif an identical value is passed).
-
withZ
- Returns:
- a clone of this object, except with this updated property (returns
thisif an identical value is passed).
-
withName
- Returns:
- a clone of this object, except with this updated property (returns
thisif an identical value is passed).
-
withTarget
- Returns:
- a clone of this object, except with this updated property (returns
thisif an identical value is passed).
-
withPool
- Returns:
- a clone of this object, except with this updated property (returns
thisif an identical value is passed).
-
withFinalState
- Returns:
- a clone of this object, except with this updated property (returns
thisif an identical value is passed).
-
withJointType
- Returns:
- a clone of this object, except with this updated property (returns
thisif an identical value is passed).
-
withSelectionPriority
- Returns:
- a clone of this object, except with this updated property (returns
thisif an identical value is passed).
-
withPlacementPriority
- Returns:
- a clone of this object, except with this updated property (returns
thisif an identical value is passed).
-