Class ClientboundHorseScreenOpenPacket
java.lang.Object
org.geysermc.mcprotocollib.protocol.packet.ingame.clientbound.inventory.ClientboundHorseScreenOpenPacket
- All Implemented Interfaces:
Packet,MinecraftPacket
-
Constructor Summary
ConstructorsConstructorDescriptionClientboundHorseScreenOpenPacket(int containerId, int numberOfSlots, int entityId) ClientboundHorseScreenOpenPacket(io.netty.buffer.ByteBuf in, MinecraftCodecHelper helper) -
Method Summary
Modifier and TypeMethodDescriptionprotected booleanbooleanintintintinthashCode()voidserialize(io.netty.buffer.ByteBuf out, MinecraftCodecHelper helper) @NonNull StringtoString()@NonNull ClientboundHorseScreenOpenPacketwithContainerId(int containerId) @NonNull ClientboundHorseScreenOpenPacketwithEntityId(int entityId) @NonNull ClientboundHorseScreenOpenPacketwithNumberOfSlots(int numberOfSlots) 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
-
ClientboundHorseScreenOpenPacket
-
ClientboundHorseScreenOpenPacket
public ClientboundHorseScreenOpenPacket(int containerId, int numberOfSlots, int entityId)
-
-
Method Details
-
serialize
- Specified by:
serializein interfaceMinecraftPacket
-
getContainerId
public int getContainerId() -
getNumberOfSlots
public int getNumberOfSlots() -
getEntityId
public int getEntityId() -
equals
-
canEqual
-
hashCode
public int hashCode() -
toString
-
withContainerId
- Returns:
- a clone of this object, except with this updated property (returns
thisif an identical value is passed).
-
withNumberOfSlots
- Returns:
- a clone of this object, except with this updated property (returns
thisif an identical value is passed).
-
withEntityId
- Returns:
- a clone of this object, except with this updated property (returns
thisif an identical value is passed).
-