Class ServerboundSignUpdatePacket
java.lang.Object
org.geysermc.mcprotocollib.protocol.packet.ingame.serverbound.level.ServerboundSignUpdatePacket
- All Implemented Interfaces:
Packet,MinecraftPacket
-
Constructor Summary
ConstructorsConstructorDescriptionServerboundSignUpdatePacket(@NonNull org.cloudburstmc.math.vector.Vector3i position, @NonNull String[] lines, boolean isFrontText) ServerboundSignUpdatePacket(io.netty.buffer.ByteBuf in, MinecraftCodecHelper helper) -
Method Summary
Modifier and TypeMethodDescriptionprotected booleanboolean@NonNull String[]getLines()@NonNull org.cloudburstmc.math.vector.Vector3iinthashCode()booleanvoidserialize(io.netty.buffer.ByteBuf out, MinecraftCodecHelper helper) @NonNull StringtoString()@NonNull ServerboundSignUpdatePacketwithFrontText(boolean isFrontText) @NonNull ServerboundSignUpdatePacket@NonNull ServerboundSignUpdatePacketwithPosition(@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
isTerminal, shouldRunOnGameThread
-
Constructor Details
-
ServerboundSignUpdatePacket
public ServerboundSignUpdatePacket(@NonNull @NonNull org.cloudburstmc.math.vector.Vector3i position, @NonNull @NonNull String[] lines, boolean isFrontText) -
ServerboundSignUpdatePacket
-
-
Method Details
-
serialize
- Specified by:
serializein interfaceMinecraftPacket
-
getPosition
@NonNull public @NonNull org.cloudburstmc.math.vector.Vector3i getPosition() -
getLines
-
isFrontText
public boolean isFrontText() -
equals
-
canEqual
-
hashCode
public int hashCode() -
toString
-
withPosition
public @NonNull ServerboundSignUpdatePacket 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).
-
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).
-