Class ClientboundOpenSignEditorPacket
java.lang.Object
org.geysermc.mcprotocollib.protocol.packet.ingame.clientbound.level.ClientboundOpenSignEditorPacket
- All Implemented Interfaces:
Packet,MinecraftPacket
-
Constructor Summary
ConstructorsConstructorDescriptionClientboundOpenSignEditorPacket(@NonNull org.cloudburstmc.math.vector.Vector3i position, boolean isFrontText) ClientboundOpenSignEditorPacket(io.netty.buffer.ByteBuf in, MinecraftCodecHelper helper) -
Method Summary
Modifier and TypeMethodDescriptionprotected booleanboolean@NonNull org.cloudburstmc.math.vector.Vector3iinthashCode()booleanvoidserialize(io.netty.buffer.ByteBuf out, MinecraftCodecHelper helper) @NonNull StringtoString()@NonNull ClientboundOpenSignEditorPacketwithFrontText(boolean isFrontText) @NonNull ClientboundOpenSignEditorPacketwithPosition(@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, isTerminal
-
Constructor Details
-
ClientboundOpenSignEditorPacket
-
ClientboundOpenSignEditorPacket
public ClientboundOpenSignEditorPacket(@NonNull @NonNull org.cloudburstmc.math.vector.Vector3i position, boolean isFrontText)
-
-
Method Details
-
serialize
- Specified by:
serializein interfaceMinecraftPacket
-
getPosition
@NonNull public @NonNull org.cloudburstmc.math.vector.Vector3i getPosition() -
isFrontText
public boolean isFrontText() -
equals
-
canEqual
-
hashCode
public int hashCode() -
toString
-
withPosition
public @NonNull ClientboundOpenSignEditorPacket 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).
-
withFrontText
- Returns:
- a clone of this object, except with this updated property (returns
thisif an identical value is passed).
-