Class ServerboundSignUpdatePacket
java.lang.Object
org.geysermc.mcprotocollib.protocol.packet.ingame.serverbound.level.ServerboundSignUpdatePacket
- All Implemented Interfaces:
Packet, MinecraftPacket
-
Constructor Summary
ConstructorsConstructorDescriptionServerboundSignUpdatePacket(int x, int y, int z, List<String> lines, boolean isFrontText) ServerboundSignUpdatePacket(io.netty.buffer.ByteBuf in) -
Method Summary
Modifier and TypeMethodDescriptionprotected booleanbooleangetLines()intgetX()intgetY()intgetZ()inthashCode()booleanvoidserialize(io.netty.buffer.ByteBuf out) @NonNull StringtoString()@NonNull ServerboundSignUpdatePacketwithFrontText(boolean isFrontText) @NonNull ServerboundSignUpdatePacket@NonNull ServerboundSignUpdatePacketwithX(int x) @NonNull ServerboundSignUpdatePacketwithY(int y) @NonNull ServerboundSignUpdatePacketwithZ(int z) Methods inherited from interface Packet
isPriority, isTerminal
-
Constructor Details
-
ServerboundSignUpdatePacket
-
ServerboundSignUpdatePacket
public ServerboundSignUpdatePacket(io.netty.buffer.ByteBuf in)
-
-
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() -
getLines
-
isFrontText
public boolean isFrontText() -
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).
-
withLines
- Returns:
- a clone of this object, except with this updated property (returns
thisif an identical value is passed).
-
withFrontText
- Returns:
- a clone of this object, except with this updated property (returns
thisif an identical value is passed).
-