net.minecraft.network.protocol.game

public class ClientboundGameEventPacket

implements Packet<ClientGamePacketListener>

wk
net.minecraft.network.protocol.game.ClientboundGameEventPacket
net.minecraft.class_2668
net.minecraft.network.packet.s2c.play.GameStateChangeS2CPacket
net.minecraft.src.C_5066_
net.minecraft.network.protocol.game.PacketPlayOutGameStateChange

Field summary

Modifier and TypeField
public static final ClientboundGameEventPacket$Type
a
NO_RESPAWN_BLOCK_AVAILABLE
field_25645
NO_RESPAWN_BLOCK
f_132153_
public static final ClientboundGameEventPacket$Type
b
START_RAINING
field_25646
RAIN_STARTED
f_132154_
public static final ClientboundGameEventPacket$Type
c
STOP_RAINING
field_25647
RAIN_STOPPED
f_132155_
public static final ClientboundGameEventPacket$Type
d
CHANGE_GAME_MODE
field_25648
GAME_MODE_CHANGED
f_132156_
public static final ClientboundGameEventPacket$Type
e
WIN_GAME
field_25649
GAME_WON
f_132157_
public static final ClientboundGameEventPacket$Type
f
DEMO_EVENT
field_25650
DEMO_MESSAGE_SHOWN
f_132158_
public static final ClientboundGameEventPacket$Type
g
ARROW_HIT_PLAYER
field_25651
PROJECTILE_HIT_PLAYER
f_132159_
public static final ClientboundGameEventPacket$Type
h
RAIN_LEVEL_CHANGE
field_25652
RAIN_GRADIENT_CHANGED
f_132160_
public static final ClientboundGameEventPacket$Type
i
THUNDER_LEVEL_CHANGE
field_25653
THUNDER_GRADIENT_CHANGED
f_132161_
public static final ClientboundGameEventPacket$Type
j
PUFFER_FISH_STING
field_25654
PUFFERFISH_STING
f_132162_
public static final ClientboundGameEventPacket$Type
k
GUARDIAN_ELDER_EFFECT
field_25655
ELDER_GUARDIAN_EFFECT
f_132163_
public static final ClientboundGameEventPacket$Type
l
IMMEDIATE_RESPAWN
field_25656
IMMEDIATE_RESPAWN
f_132164_
public static final int
m
DEMO_PARAM_INTRO
field_33328
DEMO_OPEN_SCREEN
f_178859_
public static final int
n
DEMO_PARAM_HINT_1
field_33329
DEMO_MOVEMENT_HELP
f_178860_
public static final int
o
DEMO_PARAM_HINT_2
field_33330
DEMO_JUMP_HELP
f_178861_
public static final int
p
DEMO_PARAM_HINT_3
field_33331
DEMO_INVENTORY_HELP
f_178862_
public static final int
q
DEMO_PARAM_HINT_4
field_33332
DEMO_EXPIRY_NOTICE
f_178863_
private final ClientboundGameEventPacket$Type
r
event
field_12199
reason
f_132165_
private final float
s
param
field_12198
value
f_132166_

Constructor summary

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

Method summary

Modifier and TypeMethod
public void
a(ss arg0)
write(FriendlyByteBuf arg0)
method_11052(class_2540 arg0)
write(PacketByteBuf arg0)
m_5779_(C_4983_ arg0)
public void
a(ve arg0)
handle(ClientGamePacketListener arg0)
method_11490(class_2602 arg0)
apply(ClientPlayPacketListener arg0)
m_5797_(C_5031_ arg0)
public ClientboundGameEventPacket$Type
a()
getEvent()
method_11491()
getReason()
m_132178_()
public float
c()
getParam()
method_11492()
getValue()
m_132181_()