Class SChangeGameStatePacket
java.lang.Object
net.minecraft.network.play.server.SChangeGameStatePacket
- All Implemented Interfaces:
IPacket<IClientPlayNetHandler>
-
Nested Class Summary
-
Field Summary
Modifier and TypeFieldDescriptionstatic final SChangeGameStatePacket.State
static final SChangeGameStatePacket.State
static final SChangeGameStatePacket.State
private SChangeGameStatePacket.State
static final SChangeGameStatePacket.State
static final SChangeGameStatePacket.State
static final SChangeGameStatePacket.State
private float
static final SChangeGameStatePacket.State
static final SChangeGameStatePacket.State
static final SChangeGameStatePacket.State
static final SChangeGameStatePacket.State
static final SChangeGameStatePacket.State
static final SChangeGameStatePacket.State
-
Constructor Summary
ConstructorDescriptionSChangeGameStatePacket
(SChangeGameStatePacket.State p_i241263_1_, float p_i241263_2_) -
Method Summary
Modifier and TypeMethodDescriptiongetEvent()
float
getParam()
void
handle
(IClientPlayNetHandler p_148833_1_) void
read
(PacketBuffer p_148837_1_) void
write
(PacketBuffer p_148840_1_) 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.IPacket
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
-
event
-
param
private float param
-
-
Constructor Details
-
SChangeGameStatePacket
public SChangeGameStatePacket() -
SChangeGameStatePacket
-
-
Method Details
-
read
- Specified by:
read
in interfaceIPacket<IClientPlayNetHandler>
- Throws:
IOException
-
write
- Specified by:
write
in interfaceIPacket<IClientPlayNetHandler>
- Throws:
IOException
-
handle
- Specified by:
handle
in interfaceIPacket<IClientPlayNetHandler>
-
getEvent
-
getParam
public float getParam()
-