Class ClientboundGameEventPacket
java.lang.Object
net.minecraft.network.protocol.game.ClientboundGameEventPacket
- All Implemented Interfaces:
- Packet<ClientGamePacketListener>
- 
Nested Class SummaryNested Classes
- 
Field SummaryFieldsModifier and TypeFieldDescriptionstatic intstatic intstatic intstatic intstatic intprivate ClientboundGameEventPacket.Typeprivate float
- 
Constructor SummaryConstructorsConstructorDescriptionClientboundGameEventPacket(FriendlyByteBuf p_178865_)ClientboundGameEventPacket(ClientboundGameEventPacket.Type p_132170_, float p_132171_)
- 
Method SummaryModifier and TypeMethodDescriptiongetEvent()floatgetParam()voidhandle(ClientGamePacketListener p_132177_)voidwrite(FriendlyByteBuf p_132180_)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
- 
Field Details- 
NO_RESPAWN_BLOCK_AVAILABLE
- 
START_RAINING
- 
STOP_RAINING
- 
CHANGE_GAME_MODE
- 
WIN_GAME
- 
DEMO_EVENT
- 
ARROW_HIT_PLAYER
- 
RAIN_LEVEL_CHANGE
- 
THUNDER_LEVEL_CHANGE
- 
PUFFER_FISH_STING
- 
GUARDIAN_ELDER_EFFECT
- 
IMMEDIATE_RESPAWN
- 
DEMO_PARAM_INTROpublic static final int DEMO_PARAM_INTRO- See Also:
- Constant Field Values
 
- 
DEMO_PARAM_HINT_1public static final int DEMO_PARAM_HINT_1- See Also:
- Constant Field Values
 
- 
DEMO_PARAM_HINT_2public static final int DEMO_PARAM_HINT_2- See Also:
- Constant Field Values
 
- 
DEMO_PARAM_HINT_3public static final int DEMO_PARAM_HINT_3- See Also:
- Constant Field Values
 
- 
DEMO_PARAM_HINT_4public static final int DEMO_PARAM_HINT_4- See Also:
- Constant Field Values
 
- 
event
- 
paramprivate final float param
 
- 
- 
Constructor Details- 
ClientboundGameEventPacket
- 
ClientboundGameEventPacket
 
- 
- 
Method Details- 
write- Specified by:
- writein interface- Packet<ClientGamePacketListener>
 
- 
handle- Specified by:
- handlein interface- Packet<ClientGamePacketListener>
 
- 
getEvent
- 
getParampublic float getParam()
 
-