Class ServerboundSetJigsawBlockPacket
java.lang.Object
org.geysermc.mcprotocollib.protocol.packet.ingame.serverbound.inventory.ServerboundSetJigsawBlockPacket
- All Implemented Interfaces:
Packet,MinecraftPacket
-
Constructor Summary
ConstructorsConstructorDescriptionServerboundSetJigsawBlockPacket(@NonNull org.cloudburstmc.math.vector.Vector3i position, @NonNull String name, @NonNull String target, @NonNull String pool, @NonNull String finalState, @NonNull String jointType, int selectionPriority, int placementPriority) ServerboundSetJigsawBlockPacket(io.netty.buffer.ByteBuf in, MinecraftCodecHelper helper) -
Method Summary
Modifier and TypeMethodDescriptionprotected booleanboolean@NonNull String@NonNull String@NonNull StringgetName()int@NonNull StringgetPool()@NonNull org.cloudburstmc.math.vector.Vector3iint@NonNull StringinthashCode()voidserialize(io.netty.buffer.ByteBuf out, MinecraftCodecHelper helper) @NonNull StringtoString()@NonNull ServerboundSetJigsawBlockPacketwithFinalState(@NonNull String finalState) @NonNull ServerboundSetJigsawBlockPacketwithJointType(@NonNull String jointType) @NonNull ServerboundSetJigsawBlockPacket@NonNull ServerboundSetJigsawBlockPacketwithPlacementPriority(int placementPriority) @NonNull ServerboundSetJigsawBlockPacket@NonNull ServerboundSetJigsawBlockPacketwithPosition(@NonNull org.cloudburstmc.math.vector.Vector3i position) @NonNull ServerboundSetJigsawBlockPacketwithSelectionPriority(int selectionPriority) @NonNull ServerboundSetJigsawBlockPacketwithTarget(@NonNull String target) Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface org.geysermc.mcprotocollib.network.packet.Packet
isPriority
-
Constructor Details
-
ServerboundSetJigsawBlockPacket
-
ServerboundSetJigsawBlockPacket
public ServerboundSetJigsawBlockPacket(@NonNull @NonNull org.cloudburstmc.math.vector.Vector3i position, @NonNull @NonNull String name, @NonNull @NonNull String target, @NonNull @NonNull String pool, @NonNull @NonNull String finalState, @NonNull @NonNull String jointType, int selectionPriority, int placementPriority)
-
-
Method Details
-
serialize
- Specified by:
serializein interfaceMinecraftPacket
-
getPosition
@NonNull public @NonNull org.cloudburstmc.math.vector.Vector3i getPosition() -
getName
-
getTarget
-
getPool
-
getFinalState
-
getJointType
-
getSelectionPriority
public int getSelectionPriority() -
getPlacementPriority
public int getPlacementPriority() -
equals
-
canEqual
-
hashCode
public int hashCode() -
toString
-
withPosition
public @NonNull ServerboundSetJigsawBlockPacket withPosition(@NonNull @NonNull org.cloudburstmc.math.vector.Vector3i position) - 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).
-