Class ServerboundJigsawGeneratePacket
java.lang.Object
org.geysermc.mcprotocollib.protocol.packet.ingame.serverbound.level.ServerboundJigsawGeneratePacket
- All Implemented Interfaces:
Packet, MinecraftPacket
-
Constructor Summary
ConstructorsConstructorDescriptionServerboundJigsawGeneratePacket(int x, int y, int z, int levels, boolean keepJigsaws) ServerboundJigsawGeneratePacket(io.netty.buffer.ByteBuf in) -
Method Summary
Modifier and TypeMethodDescriptionprotected booleanbooleanintintgetX()intgetY()intgetZ()inthashCode()booleanvoidserialize(io.netty.buffer.ByteBuf out) @NonNull StringtoString()@NonNull ServerboundJigsawGeneratePacketwithKeepJigsaws(boolean keepJigsaws) @NonNull ServerboundJigsawGeneratePacketwithLevels(int levels) @NonNull ServerboundJigsawGeneratePacketwithX(int x) @NonNull ServerboundJigsawGeneratePacketwithY(int y) @NonNull ServerboundJigsawGeneratePacketwithZ(int z) Methods inherited from interface Packet
isPriority, isTerminal
-
Constructor Details
-
ServerboundJigsawGeneratePacket
public ServerboundJigsawGeneratePacket(io.netty.buffer.ByteBuf in) -
ServerboundJigsawGeneratePacket
public ServerboundJigsawGeneratePacket(int x, int y, int z, int levels, boolean keepJigsaws)
-
-
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() -
getLevels
public int getLevels() -
isKeepJigsaws
public boolean isKeepJigsaws() -
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).
-
withLevels
- Returns:
- a clone of this object, except with this updated property (returns
thisif an identical value is passed).
-
withKeepJigsaws
- Returns:
- a clone of this object, except with this updated property (returns
thisif an identical value is passed).
-