Class ServerboundJigsawGeneratePacket
java.lang.Object
org.geysermc.mcprotocollib.protocol.packet.ingame.serverbound.level.ServerboundJigsawGeneratePacket
- All Implemented Interfaces:
Packet,MinecraftPacket
-
Constructor Summary
ConstructorsConstructorDescriptionServerboundJigsawGeneratePacket(@NonNull org.cloudburstmc.math.vector.Vector3i position, int levels, boolean keepJigsaws) ServerboundJigsawGeneratePacket(io.netty.buffer.ByteBuf in, MinecraftCodecHelper helper) -
Method Summary
Modifier and TypeMethodDescriptionprotected booleanbooleanint@NonNull org.cloudburstmc.math.vector.Vector3iinthashCode()booleanvoidserialize(io.netty.buffer.ByteBuf out, MinecraftCodecHelper helper) @NonNull StringtoString()@NonNull ServerboundJigsawGeneratePacketwithKeepJigsaws(boolean keepJigsaws) @NonNull ServerboundJigsawGeneratePacketwithLevels(int levels) @NonNull ServerboundJigsawGeneratePacketwithPosition(@NonNull org.cloudburstmc.math.vector.Vector3i position) 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(@NonNull @NonNull org.cloudburstmc.math.vector.Vector3i position, int levels, boolean keepJigsaws)
-
-
Method Details
-
serialize
- Specified by:
serializein interfaceMinecraftPacket
-
getPosition
@NonNull public @NonNull org.cloudburstmc.math.vector.Vector3i getPosition() -
getLevels
public int getLevels() -
isKeepJigsaws
public boolean isKeepJigsaws() -
equals
-
canEqual
-
hashCode
public int hashCode() -
toString
-
withPosition
public @NonNull ServerboundJigsawGeneratePacket 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).
-
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).
-