net.minecraft.network.protocol.game

public class ClientboundGameEventPacket

implements Packet<ClientGamePacketListener>

act
net.minecraft.network.protocol.game.ClientboundGameEventPacket
net.minecraft.class_2668
net.minecraft.unmapped.C_ikhizcww
net.minecraft.network.packet.s2c.play.GameStateChangeS2CPacket
net.minecraft.network.packet.s2c.play.GameStateUpdateS2CPacket
net.minecraft.src.C_5066_
net.minecraft.network.protocol.game.PacketPlayOutGameStateChange

Field summary

Modifier and TypeField
public static final StreamCodec<FriendlyByteBuf, ClientboundGameEventPacket>
a
STREAM_CODEC
field_47927
f_htqgorjk
CODEC
CODEC
f_315994_
public static final ClientboundGameEventPacket$Type
b
NO_RESPAWN_BLOCK_AVAILABLE
field_25645
f_mofuyqct
NO_RESPAWN_BLOCK
NO_RESPAWN_BLOCK
f_132153_
public static final ClientboundGameEventPacket$Type
c
START_RAINING
field_25646
f_sxcvqayv
RAIN_STARTED
RAIN_STARTED
f_132154_
public static final ClientboundGameEventPacket$Type
d
STOP_RAINING
field_25647
f_ogxxyryj
RAIN_STOPPED
RAIN_STOPPED
f_132155_
public static final ClientboundGameEventPacket$Type
e
CHANGE_GAME_MODE
field_25648
f_jidgldvm
GAME_MODE_CHANGED
GAME_MODE_CHANGED
f_132156_
public static final ClientboundGameEventPacket$Type
f
WIN_GAME
field_25649
f_jwrziaps
GAME_WON
GAME_WON
f_132157_
public static final ClientboundGameEventPacket$Type
g
DEMO_EVENT
field_25650
f_hivbvuyi
DEMO_MESSAGE_SHOWN
DEMO_MESSAGE_SHOWN
f_132158_
public static final ClientboundGameEventPacket$Type
h
ARROW_HIT_PLAYER
field_25651
f_gqvoynaz
PROJECTILE_HIT_PLAYER
PROJECTILE_HIT_PLAYER
f_132159_
public static final ClientboundGameEventPacket$Type
i
RAIN_LEVEL_CHANGE
field_25652
f_mjqytuid
RAIN_GRADIENT_CHANGED
RAIN_GRADIENT_CHANGED
f_132160_
public static final ClientboundGameEventPacket$Type
j
THUNDER_LEVEL_CHANGE
field_25653
f_rlqnkkgl
THUNDER_GRADIENT_CHANGED
THUNDER_GRADIENT_CHANGED
f_132161_
public static final ClientboundGameEventPacket$Type
k
PUFFER_FISH_STING
field_25654
f_nyfmbtmz
PUFFERFISH_STING
PUFFERFISH_STING
f_132162_
public static final ClientboundGameEventPacket$Type
l
GUARDIAN_ELDER_EFFECT
field_25655
f_jjbckhdt
ELDER_GUARDIAN_EFFECT
ELDER_GUARDIAN_EFFECT
f_132163_
public static final ClientboundGameEventPacket$Type
m
IMMEDIATE_RESPAWN
field_25656
f_hprerycz
IMMEDIATE_RESPAWN
IMMEDIATE_RESPAWN
f_132164_
public static final ClientboundGameEventPacket$Type
n
LIMITED_CRAFTING
field_46189
f_pfpppogo
LIMITED_CRAFTING_TOGGLED
LIMITED_CRAFTING
f_290437_
public static final ClientboundGameEventPacket$Type
o
LEVEL_CHUNKS_LOAD_START
field_46637
f_msphfhpm
INITIAL_CHUNKS_COMING
INITIAL_CHUNKS_COMING
f_302744_
public static final int
p
DEMO_PARAM_INTRO
field_33328
f_sjaqivyo
DEMO_OPEN_SCREEN
DEMO_OPEN_SCREEN
f_178859_
public static final int
q
DEMO_PARAM_HINT_1
field_33329
f_qqmeeonv
DEMO_MOVEMENT_HELP
DEMO_MOVEMENT_HELP
f_178860_
public static final int
r
DEMO_PARAM_HINT_2
field_33330
f_usmzyvzy
DEMO_JUMP_HELP
DEMO_JUMP_HELP
f_178861_
public static final int
s
DEMO_PARAM_HINT_3
field_33331
f_givfwziv
DEMO_INVENTORY_HELP
DEMO_INVENTORY_HELP
f_178862_
public static final int
t
DEMO_PARAM_HINT_4
field_33332
f_szimgfht
DEMO_EXPIRY_NOTICE
DEMO_EXPIRY_NOTICE
f_178863_
private final ClientboundGameEventPacket$Type
u
event
field_12199
f_irwdrvto
reason
reason
f_132165_
private final float
v
param
field_12198
f_bndmchta
value
value
f_132166_

Constructor summary

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

Method summary

Modifier and TypeMethod
private void
a(vl arg0)
write(FriendlyByteBuf arg0)
method_55879(class_2540 arg0)
m_wahpjirk(C_idfydwco arg0)
write(PacketByteBuf buf)
write(PacketByteBuf buf)
m_132179_(C_4983_ arg0)
public PacketType<ClientboundGameEventPacket>
a()
type()
method_65080()
m_bbocywrf()
getPacketType()
getType()
m_5779_()
public void
a(abl arg0)
handle(ClientGamePacketListener arg0)
method_11490(class_2602 arg0)
m_lboqyztx(C_rbfddnlp arg0)
apply(ClientPlayPacketListener arg0)
apply(ClientPlayPacketListener arg0)
m_5797_(C_5031_ arg0)
public ClientboundGameEventPacket$Type
b()
getEvent()
method_11491()
m_cnavhctl()
getReason()
getReason()
m_132178_()
public float
e()
getParam()
method_11492()
m_zpmcoxxg()
getValue()
getValue()
m_132181_()