Class PlayerInfoUpdatePacket
java.lang.Object
net.minestom.server.network.packet.server.play.PlayerInfoUpdatePacket
- All Implemented Interfaces:
NetworkBuffer.Writer,SendablePacket,ServerPacket,ServerPacket.Play
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic enumstatic final recordstatic final recordNested classes/interfaces inherited from interface net.minestom.server.network.packet.server.ServerPacket
ServerPacket.ComponentHolding, ServerPacket.Configuration, ServerPacket.Login, ServerPacket.Play, ServerPacket.Status -
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionPlayerInfoUpdatePacket(@NotNull EnumSet<@NotNull PlayerInfoUpdatePacket.Action> actions, @NotNull List<@NotNull PlayerInfoUpdatePacket.Entry> entries) PlayerInfoUpdatePacket(@NotNull NetworkBuffer reader) PlayerInfoUpdatePacket(@NotNull PlayerInfoUpdatePacket.Action action, @NotNull PlayerInfoUpdatePacket.Entry entry) -
Method Summary
Modifier and TypeMethodDescription@NotNull EnumSet<PlayerInfoUpdatePacket.Action> actions()@NotNull List<PlayerInfoUpdatePacket.Entry> entries()booleaninthashCode()intplayId()toString()voidwrite(@NotNull NetworkBuffer writer) Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface net.minestom.server.network.packet.server.ServerPacket
getId
-
Field Details
-
MAX_ENTRIES
public static final int MAX_ENTRIES- See Also:
-
-
Constructor Details
-
PlayerInfoUpdatePacket
public PlayerInfoUpdatePacket(@NotNull @NotNull EnumSet<@NotNull PlayerInfoUpdatePacket.Action> actions, @NotNull @NotNull List<@NotNull PlayerInfoUpdatePacket.Entry> entries) -
PlayerInfoUpdatePacket
public PlayerInfoUpdatePacket(@NotNull @NotNull PlayerInfoUpdatePacket.Action action, @NotNull @NotNull PlayerInfoUpdatePacket.Entry entry) -
PlayerInfoUpdatePacket
-
-
Method Details
-
write
- Specified by:
writein interfaceNetworkBuffer.Writer
-
playId
public int playId()- Specified by:
playIdin interfaceServerPacket.Play
-
actions
-
entries
-
equals
-
hashCode
public int hashCode() -
toString
-