net.minecraft.network.protocol.game

public class ClientboundGameEventPacket

implements Packet<ClientGamePacketListener>

pq
net.minecraft.network.protocol.game.ClientboundGameEventPacket
net.minecraft.class_2668
net.minecraft.network.packet.s2c.play.GameStateChangeS2CPacket
net.minecraft.network.play.server.SChangeGameStatePacket
net.minecraft.server.v1_16_R3.PacketPlayOutGameStateChange

Field summary

Modifier and TypeField
public static final ClientboundGameEventPacket$Type
a
NO_RESPAWN_BLOCK_AVAILABLE
field_25645
NO_RESPAWN_BLOCK
field_241764_a_
public static final ClientboundGameEventPacket$Type
b
START_RAINING
field_25646
RAIN_STARTED
field_241765_b_
public static final ClientboundGameEventPacket$Type
c
STOP_RAINING
field_25647
RAIN_STOPPED
field_241766_c_
public static final ClientboundGameEventPacket$Type
d
CHANGE_GAME_MODE
field_25648
GAME_MODE_CHANGED
field_241767_d_
public static final ClientboundGameEventPacket$Type
e
WIN_GAME
field_25649
GAME_WON
field_241768_e_
public static final ClientboundGameEventPacket$Type
f
DEMO_EVENT
field_25650
DEMO_MESSAGE_SHOWN
field_241769_f_
public static final ClientboundGameEventPacket$Type
g
ARROW_HIT_PLAYER
field_25651
PROJECTILE_HIT_PLAYER
field_241770_g_
public static final ClientboundGameEventPacket$Type
h
RAIN_LEVEL_CHANGE
field_25652
RAIN_GRADIENT_CHANGED
field_241771_h_
public static final ClientboundGameEventPacket$Type
i
THUNDER_LEVEL_CHANGE
field_25653
THUNDER_GRADIENT_CHANGED
field_241772_i_
public static final ClientboundGameEventPacket$Type
j
PUFFER_FISH_STING
field_25654
PUFFERFISH_STING
field_241773_j_
public static final ClientboundGameEventPacket$Type
k
GUARDIAN_ELDER_EFFECT
field_25655
ELDER_GUARDIAN_EFFECT
field_241774_k_
public static final ClientboundGameEventPacket$Type
l
IMMEDIATE_RESPAWN
field_25656
IMMEDIATE_RESPAWN
field_241775_l_
private ClientboundGameEventPacket$Type
m
event
field_12199
reason
field_149140_b
private float
n
param
field_12198
value
field_149141_c

Constructor summary

ModifierConstructor
public ()
public (ClientboundGameEventPacket$Type reason, float value)

Method summary

Modifier and TypeMethod
public void
a(nf arg0)
read(FriendlyByteBuf arg0)
method_11053(class_2540 arg0)
read(PacketByteBuf arg0)
func_148837_a(PacketBuffer arg0)
public void
b(nf arg0)
write(FriendlyByteBuf arg0)
method_11052(class_2540 arg0)
write(PacketByteBuf arg0)
func_148840_b(PacketBuffer arg0)
public void
a(om arg0)
handle(ClientGamePacketListener arg0)
method_11490(class_2602 arg0)
apply(ClientPlayPacketListener arg0)
func_148833_a(IClientPlayNetHandler arg0)
public ClientboundGameEventPacket$Type
b()
getEvent()
method_11491()
getReason()
func_241776_b_()
public float
c()
getParam()
method_11492()
getValue()
func_149137_d()