Class ClientboundGameEventPacket
java.lang.Object
net.minecraft.network.protocol.game.ClientboundGameEventPacket
- All Implemented Interfaces:
 Packet<ClientGamePacketListener>
- 
Nested Class Summary
Nested Classes - 
Field Summary
FieldsModifier and TypeFieldDescriptionstatic intstatic intstatic intstatic intstatic intprivate ClientboundGameEventPacket.Typeprivate float - 
Constructor Summary
ConstructorsConstructorDescriptionClientboundGameEventPacket(FriendlyByteBuf p_178865_)ClientboundGameEventPacket(ClientboundGameEventPacket.Type p_132170_, float p_132171_) - 
Method Summary
Modifier and TypeMethodDescriptiongetEvent()floatgetParam()voidhandle(ClientGamePacketListener p_132177_)voidwrite(FriendlyByteBuf p_132180_)Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface net.minecraft.network.protocol.Packet
isSkippable 
- 
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_INTRO
public static final int DEMO_PARAM_INTRO- See Also:
 - Constant Field Values
 
 - 
DEMO_PARAM_HINT_1
public static final int DEMO_PARAM_HINT_1- See Also:
 - Constant Field Values
 
 - 
DEMO_PARAM_HINT_2
public static final int DEMO_PARAM_HINT_2- See Also:
 - Constant Field Values
 
 - 
DEMO_PARAM_HINT_3
public static final int DEMO_PARAM_HINT_3- See Also:
 - Constant Field Values
 
 - 
DEMO_PARAM_HINT_4
public static final int DEMO_PARAM_HINT_4- See Also:
 - Constant Field Values
 
 - 
event
 - 
param
private final float param 
 - 
 - 
Constructor Details
- 
ClientboundGameEventPacket
 - 
ClientboundGameEventPacket
 
 - 
 - 
Method Details
- 
write
- Specified by:
 writein interfacePacket<ClientGamePacketListener>
 - 
handle
- Specified by:
 handlein interfacePacket<ClientGamePacketListener>
 - 
getEvent
 - 
getParam
public float getParam() 
 -