net.minecraft.network.protocol.game

public class ClientboundGameEventPacket

implements Packet<ClientGamePacketListener>

adb
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 StreamCodec<FriendlyByteBuf, ClientboundGameEventPacket>
a
STREAM_CODEC
field_47927
CODEC
f_315994_
public static final ClientboundGameEventPacket$Type
b
NO_RESPAWN_BLOCK_AVAILABLE
field_25645
NO_RESPAWN_BLOCK
f_132153_
public static final ClientboundGameEventPacket$Type
c
START_RAINING
field_25646
RAIN_STARTED
f_132154_
public static final ClientboundGameEventPacket$Type
d
STOP_RAINING
field_25647
RAIN_STOPPED
f_132155_
public static final ClientboundGameEventPacket$Type
e
CHANGE_GAME_MODE
field_25648
GAME_MODE_CHANGED
f_132156_
public static final ClientboundGameEventPacket$Type
f
WIN_GAME
field_25649
GAME_WON
f_132157_
public static final ClientboundGameEventPacket$Type
g
DEMO_EVENT
field_25650
DEMO_MESSAGE_SHOWN
f_132158_
public static final ClientboundGameEventPacket$Type
h
ARROW_HIT_PLAYER
field_25651
PROJECTILE_HIT_PLAYER
f_132159_
public static final ClientboundGameEventPacket$Type
i
RAIN_LEVEL_CHANGE
field_25652
RAIN_GRADIENT_CHANGED
f_132160_
public static final ClientboundGameEventPacket$Type
j
THUNDER_LEVEL_CHANGE
field_25653
THUNDER_GRADIENT_CHANGED
f_132161_
public static final ClientboundGameEventPacket$Type
k
PUFFER_FISH_STING
field_25654
PUFFERFISH_STING
f_132162_
public static final ClientboundGameEventPacket$Type
l
GUARDIAN_ELDER_EFFECT
field_25655
ELDER_GUARDIAN_EFFECT
f_132163_
public static final ClientboundGameEventPacket$Type
m
IMMEDIATE_RESPAWN
field_25656
IMMEDIATE_RESPAWN
f_132164_
public static final ClientboundGameEventPacket$Type
n
LIMITED_CRAFTING
field_46189
LIMITED_CRAFTING_TOGGLED
f_290437_
public static final ClientboundGameEventPacket$Type
o
LEVEL_CHUNKS_LOAD_START
field_46637
INITIAL_CHUNKS_COMING
f_302744_
public static final int
p
DEMO_PARAM_INTRO
field_33328
DEMO_OPEN_SCREEN
f_178859_
public static final int
q
DEMO_PARAM_HINT_1
field_33329
DEMO_MOVEMENT_HELP
f_178860_
public static final int
r
DEMO_PARAM_HINT_2
field_33330
DEMO_JUMP_HELP
f_178861_
public static final int
s
DEMO_PARAM_HINT_3
field_33331
DEMO_INVENTORY_HELP
f_178862_
public static final int
t
DEMO_PARAM_HINT_4
field_33332
DEMO_EXPIRY_NOTICE
f_178863_
private final ClientboundGameEventPacket$Type
u
event
field_12199
reason
f_132165_
private final float
v
param
field_12198
value
f_132166_

Constructor summary

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

Method summary

Modifier and TypeMethod
private void
a(vw arg0)
write(FriendlyByteBuf arg0)
method_55879(class_2540 arg0)
write(PacketByteBuf buf)
m_132179_(C_4983_ arg0)
public PacketType<ClientboundGameEventPacket>
a()
type()
method_55846()
getPacketId()
m_5779_()
public void
a(abu arg0)
handle(ClientGamePacketListener arg0)
method_11490(class_2602 arg0)
apply(ClientPlayPacketListener arg0)
m_5797_(C_5031_ arg0)
public ClientboundGameEventPacket$Type
b()
getEvent()
method_11491()
getReason()
m_132178_()
public float
e()
getParam()
method_11492()
getValue()
m_132181_()