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
Modifier and TypeClassDescriptionstatic enum
static final record
static final record
Nested classes/interfaces inherited from interface net.minestom.server.network.packet.server.ServerPacket
ServerPacket.ComponentHolding, ServerPacket.Configuration, ServerPacket.Login, ServerPacket.Play, ServerPacket.Status
-
Field Summary
-
Constructor Summary
ConstructorDescriptionPlayerInfoUpdatePacket
(@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()
boolean
int
hashCode()
int
playId()
toString()
void
write
(@NotNull NetworkBuffer writer) Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
Methods 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:
write
in interfaceNetworkBuffer.Writer
-
playId
public int playId()- Specified by:
playId
in interfaceServerPacket.Play
-
actions
-
entries
-
equals
-
hashCode
public int hashCode() -
toString
-