Class PlayerAbilitiesS2CPacket
java.lang.Object
net.minecraft.network.packet.s2c.play.PlayerAbilitiesS2CPacket
- All Implemented Interfaces:
Packet<ClientPlayPacketListener>
- Mappings:
Namespace Name official sn
intermediary net/minecraft/class_2696
named net/minecraft/network/packet/s2c/play/PlayerAbilitiesS2CPacket
-
Field Summary
Modifier and TypeFieldDescriptionprivate static final int
private final boolean
private static final int
private final boolean
private final boolean
private static final int
private final float
private final boolean
private static final int
private final float
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
void
apply
(ClientPlayPacketListener clientPlayPacketListener) float
float
boolean
boolean
isFlying()
boolean
void
write
(PacketByteBuf buf) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface net.minecraft.network.Packet
isWritingErrorSkippable
-
Field Details
-
INVULNERABLE_MASK
private static final int INVULNERABLE_MASK- See Also:
- Mappings:
Namespace Name Mixin selector official a
Lsn;a:I
intermediary field_33336
Lnet/minecraft/class_2696;field_33336:I
named INVULNERABLE_MASK
Lnet/minecraft/network/packet/s2c/play/PlayerAbilitiesS2CPacket;INVULNERABLE_MASK:I
-
FLYING_MASK
private static final int FLYING_MASK- See Also:
- Mappings:
Namespace Name Mixin selector official b
Lsn;b:I
intermediary field_33337
Lnet/minecraft/class_2696;field_33337:I
named FLYING_MASK
Lnet/minecraft/network/packet/s2c/play/PlayerAbilitiesS2CPacket;FLYING_MASK:I
-
ALLOW_FLYING_MASK
private static final int ALLOW_FLYING_MASK- See Also:
- Mappings:
Namespace Name Mixin selector official c
Lsn;c:I
intermediary field_33338
Lnet/minecraft/class_2696;field_33338:I
named ALLOW_FLYING_MASK
Lnet/minecraft/network/packet/s2c/play/PlayerAbilitiesS2CPacket;ALLOW_FLYING_MASK:I
-
CREATIVE_MODE_MASK
private static final int CREATIVE_MODE_MASK- See Also:
- Mappings:
Namespace Name Mixin selector official d
Lsn;d:I
intermediary field_33339
Lnet/minecraft/class_2696;field_33339:I
named CREATIVE_MODE_MASK
Lnet/minecraft/network/packet/s2c/play/PlayerAbilitiesS2CPacket;CREATIVE_MODE_MASK:I
-
invulnerable
private final boolean invulnerable- Mappings:
Namespace Name Mixin selector official e
Lsn;e:Z
intermediary field_12339
Lnet/minecraft/class_2696;field_12339:Z
named invulnerable
Lnet/minecraft/network/packet/s2c/play/PlayerAbilitiesS2CPacket;invulnerable:Z
-
flying
private final boolean flying- Mappings:
Namespace Name Mixin selector official f
Lsn;f:Z
intermediary field_12338
Lnet/minecraft/class_2696;field_12338:Z
named flying
Lnet/minecraft/network/packet/s2c/play/PlayerAbilitiesS2CPacket;flying:Z
-
allowFlying
private final boolean allowFlying- Mappings:
Namespace Name Mixin selector official g
Lsn;g:Z
intermediary field_12337
Lnet/minecraft/class_2696;field_12337:Z
named allowFlying
Lnet/minecraft/network/packet/s2c/play/PlayerAbilitiesS2CPacket;allowFlying:Z
-
creativeMode
private final boolean creativeMode- Mappings:
Namespace Name Mixin selector official h
Lsn;h:Z
intermediary field_12336
Lnet/minecraft/class_2696;field_12336:Z
named creativeMode
Lnet/minecraft/network/packet/s2c/play/PlayerAbilitiesS2CPacket;creativeMode:Z
-
flySpeed
private final float flySpeed- Mappings:
Namespace Name Mixin selector official i
Lsn;i:F
intermediary field_12335
Lnet/minecraft/class_2696;field_12335:F
named flySpeed
Lnet/minecraft/network/packet/s2c/play/PlayerAbilitiesS2CPacket;flySpeed:F
-
walkSpeed
private final float walkSpeed- Mappings:
Namespace Name Mixin selector official j
Lsn;j:F
intermediary field_12334
Lnet/minecraft/class_2696;field_12334:F
named walkSpeed
Lnet/minecraft/network/packet/s2c/play/PlayerAbilitiesS2CPacket;walkSpeed:F
-
-
Constructor Details
-
PlayerAbilitiesS2CPacket
- Mappings:
Namespace Name Mixin selector official <init>
Lsn;<init>(Lbnh;)V
intermediary <init>
Lnet/minecraft/class_2696;<init>(Lnet/minecraft/class_1656;)V
named <init>
Lnet/minecraft/network/packet/s2c/play/PlayerAbilitiesS2CPacket;<init>(Lnet/minecraft/entity/player/PlayerAbilities;)V
-
PlayerAbilitiesS2CPacket
- Mappings:
Namespace Name Mixin selector official <init>
Lsn;<init>(Lph;)V
intermediary <init>
Lnet/minecraft/class_2696;<init>(Lnet/minecraft/class_2540;)V
named <init>
Lnet/minecraft/network/packet/s2c/play/PlayerAbilitiesS2CPacket;<init>(Lnet/minecraft/network/PacketByteBuf;)V
-
-
Method Details
-
write
- Specified by:
write
in interfacePacket<ClientPlayPacketListener>
- Mappings:
Namespace Name Mixin selector official a
Lql;a(Lph;)V
intermediary method_11052
Lnet/minecraft/class_2596;method_11052(Lnet/minecraft/class_2540;)V
named write
Lnet/minecraft/network/Packet;write(Lnet/minecraft/network/PacketByteBuf;)V
-
apply
- Specified by:
apply
in interfacePacket<ClientPlayPacketListener>
- Mappings:
Namespace Name Mixin selector official a
Lsn;a(Lqo;)V
intermediary method_11697
Lnet/minecraft/class_2696;method_11697(Lnet/minecraft/class_2602;)V
named apply
Lnet/minecraft/network/packet/s2c/play/PlayerAbilitiesS2CPacket;apply(Lnet/minecraft/network/listener/ClientPlayPacketListener;)V
-
isInvulnerable
public boolean isInvulnerable()- Mappings:
Namespace Name Mixin selector official b
Lsn;b()Z
intermediary method_11695
Lnet/minecraft/class_2696;method_11695()Z
named isInvulnerable
Lnet/minecraft/network/packet/s2c/play/PlayerAbilitiesS2CPacket;isInvulnerable()Z
-
isFlying
public boolean isFlying()- Mappings:
Namespace Name Mixin selector official c
Lsn;c()Z
intermediary method_11698
Lnet/minecraft/class_2696;method_11698()Z
named isFlying
Lnet/minecraft/network/packet/s2c/play/PlayerAbilitiesS2CPacket;isFlying()Z
-
allowFlying
public boolean allowFlying()- Mappings:
Namespace Name Mixin selector official d
Lsn;d()Z
intermediary method_11699
Lnet/minecraft/class_2696;method_11699()Z
named allowFlying
Lnet/minecraft/network/packet/s2c/play/PlayerAbilitiesS2CPacket;allowFlying()Z
-
isCreativeMode
public boolean isCreativeMode()- Mappings:
Namespace Name Mixin selector official e
Lsn;e()Z
intermediary method_11696
Lnet/minecraft/class_2696;method_11696()Z
named isCreativeMode
Lnet/minecraft/network/packet/s2c/play/PlayerAbilitiesS2CPacket;isCreativeMode()Z
-
getFlySpeed
public float getFlySpeed()- Mappings:
Namespace Name Mixin selector official f
Lsn;f()F
intermediary method_11690
Lnet/minecraft/class_2696;method_11690()F
named getFlySpeed
Lnet/minecraft/network/packet/s2c/play/PlayerAbilitiesS2CPacket;getFlySpeed()F
-
getWalkSpeed
public float getWalkSpeed()- Mappings:
Namespace Name Mixin selector official g
Lsn;g()F
intermediary method_11691
Lnet/minecraft/class_2696;method_11691()F
named getWalkSpeed
Lnet/minecraft/network/packet/s2c/play/PlayerAbilitiesS2CPacket;getWalkSpeed()F
-