Class ServerboundPlayerAbilitiesPacket
java.lang.Object
net.minecraft.network.protocol.game.ServerboundPlayerAbilitiesPacket
- All Implemented Interfaces:
- Packet<ServerGamePacketListener>
public class ServerboundPlayerAbilitiesPacket
extends Object
implements Packet<ServerGamePacketListener>
- 
Field SummaryFieldsModifier and TypeFieldDescriptionprivate static final intprivate final boolean
- 
Constructor SummaryConstructorsConstructorDescriptionServerboundPlayerAbilitiesPacket(FriendlyByteBuf p_179709_) ServerboundPlayerAbilitiesPacket(Abilities p_134257_) 
- 
Method SummaryModifier and TypeMethodDescriptionvoidhandle(ServerGamePacketListener p_134263_) booleanisFlying()voidwrite(FriendlyByteBuf p_134266_) Methods inherited from class java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface net.minecraft.network.protocol.PacketisSkippable, nextProtocol
- 
Field Details- 
FLAG_FLYINGprivate static final int FLAG_FLYING- See Also:
 
- 
isFlyingprivate final boolean isFlying
 
- 
- 
Constructor Details- 
ServerboundPlayerAbilitiesPacket
- 
ServerboundPlayerAbilitiesPacket
 
- 
- 
Method Details- 
write- Specified by:
- writein interface- Packet<ServerGamePacketListener>
 
- 
handle- Specified by:
- handlein interface- Packet<ServerGamePacketListener>
 
- 
isFlyingpublic boolean isFlying()
 
-