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, MinecraftCodecHelper helper) -
Method Summary
Modifier and TypeMethodDescriptionprotected booleanbooleanintintgetX()intgetY()intgetZ()inthashCode()booleanvoidserialize(io.netty.buffer.ByteBuf out, MinecraftCodecHelper helper) @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 class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface org.geysermc.mcprotocollib.network.packet.Packet
isPriority
-
Constructor Details
-
ServerboundJigsawGeneratePacket
-
ServerboundJigsawGeneratePacket
public ServerboundJigsawGeneratePacket(int x, int y, int z, int levels, boolean keepJigsaws)
-
-
Method Details
-
serialize
- 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
public int 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).
-