Class PlayerAbilitiesS2CPacket
java.lang.Object
net.minecraft.network.packet.s2c.play.PlayerAbilitiesS2CPacket
- All Implemented Interfaces:
Packet<ClientPlayPacketListener>
public class PlayerAbilitiesS2CPacket extends Object implements Packet<ClientPlayPacketListener>
- Mappings:
Namespace Name official qy
intermediary net/minecraft/class_2696
named net/minecraft/network/packet/s2c/play/PlayerAbilitiesS2CPacket
-
Field Summary
Fields Modifier and Type Field Description private boolean
allowFlying
private boolean
creativeMode
private boolean
flying
private float
flySpeed
private boolean
invulnerable
private float
walkSpeed
-
Constructor Summary
Constructors Constructor Description PlayerAbilitiesS2CPacket()
PlayerAbilitiesS2CPacket(PlayerAbilities playerAbilities)
-
Method Summary
Modifier and Type Method Description boolean
allowFlying()
void
apply(ClientPlayPacketListener clientPlayPacketListener)
float
getFlySpeed()
float
getWalkSpeed()
boolean
isCreativeMode()
boolean
isFlying()
boolean
isInvulnerable()
void
read(PacketByteBuf buf)
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
private boolean invulnerable- Mappings:
Namespace Name Mixin selector official a
Lqy;a:Z
intermediary field_12339
Lnet/minecraft/class_2696;field_12339:Z
named invulnerable
Lnet/minecraft/network/packet/s2c/play/PlayerAbilitiesS2CPacket;invulnerable:Z
-
flying
private boolean flying- Mappings:
Namespace Name Mixin selector official b
Lqy;b:Z
intermediary field_12338
Lnet/minecraft/class_2696;field_12338:Z
named flying
Lnet/minecraft/network/packet/s2c/play/PlayerAbilitiesS2CPacket;flying:Z
-
allowFlying
private boolean allowFlying- Mappings:
Namespace Name Mixin selector official c
Lqy;c:Z
intermediary field_12337
Lnet/minecraft/class_2696;field_12337:Z
named allowFlying
Lnet/minecraft/network/packet/s2c/play/PlayerAbilitiesS2CPacket;allowFlying:Z
-
creativeMode
private boolean creativeMode- Mappings:
Namespace Name Mixin selector official d
Lqy;d:Z
intermediary field_12336
Lnet/minecraft/class_2696;field_12336:Z
named creativeMode
Lnet/minecraft/network/packet/s2c/play/PlayerAbilitiesS2CPacket;creativeMode:Z
-
flySpeed
private float flySpeed- Mappings:
Namespace Name Mixin selector official e
Lqy;e:F
intermediary field_12335
Lnet/minecraft/class_2696;field_12335:F
named flySpeed
Lnet/minecraft/network/packet/s2c/play/PlayerAbilitiesS2CPacket;flySpeed:F
-
walkSpeed
private float walkSpeed- Mappings:
Namespace Name Mixin selector official f
Lqy;f: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
public PlayerAbilitiesS2CPacket() -
PlayerAbilitiesS2CPacket
-
-
Method Details
-
read
- Specified by:
read
in interfacePacket<ClientPlayPacketListener>
- Throws:
IOException
- Mappings:
Namespace Name Mixin selector official a
Lpa;a(Lnw;)V
intermediary method_11053
Lnet/minecraft/class_2596;method_11053(Lnet/minecraft/class_2540;)V
named read
Lnet/minecraft/network/Packet;read(Lnet/minecraft/network/PacketByteBuf;)V
-
write
- Specified by:
write
in interfacePacket<ClientPlayPacketListener>
- Throws:
IOException
- Mappings:
Namespace Name Mixin selector official b
Lpa;b(Lnw;)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
Lqy;a(Lpd;)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
- Mappings:
Namespace Name Mixin selector official b
Lqy;b()Z
intermediary method_11695
Lnet/minecraft/class_2696;method_11695()Z
named isInvulnerable
Lnet/minecraft/network/packet/s2c/play/PlayerAbilitiesS2CPacket;isInvulnerable()Z
-
isFlying
- Mappings:
Namespace Name Mixin selector official c
Lqy;c()Z
intermediary method_11698
Lnet/minecraft/class_2696;method_11698()Z
named isFlying
Lnet/minecraft/network/packet/s2c/play/PlayerAbilitiesS2CPacket;isFlying()Z
-
allowFlying
- Mappings:
Namespace Name Mixin selector official d
Lqy;d()Z
intermediary method_11699
Lnet/minecraft/class_2696;method_11699()Z
named allowFlying
Lnet/minecraft/network/packet/s2c/play/PlayerAbilitiesS2CPacket;allowFlying()Z
-
isCreativeMode
- Mappings:
Namespace Name Mixin selector official e
Lqy;e()Z
intermediary method_11696
Lnet/minecraft/class_2696;method_11696()Z
named isCreativeMode
Lnet/minecraft/network/packet/s2c/play/PlayerAbilitiesS2CPacket;isCreativeMode()Z
-
getFlySpeed
- Mappings:
Namespace Name Mixin selector official f
Lqy;f()F
intermediary method_11690
Lnet/minecraft/class_2696;method_11690()F
named getFlySpeed
Lnet/minecraft/network/packet/s2c/play/PlayerAbilitiesS2CPacket;getFlySpeed()F
-
getWalkSpeed
- Mappings:
Namespace Name Mixin selector official g
Lqy;g()F
intermediary method_11691
Lnet/minecraft/class_2696;method_11691()F
named getWalkSpeed
Lnet/minecraft/network/packet/s2c/play/PlayerAbilitiesS2CPacket;getWalkSpeed()F
-