net.minecraft.network.protocol.game

public class ClientboundSetTimePacket

implements Packet<ClientGamePacketListener>

afl
net.minecraft.network.protocol.game.ClientboundSetTimePacket
net.minecraft.class_2761
net.minecraft.network.packet.s2c.play.WorldTimeUpdateS2CPacket
net.minecraft.src.C_5126_
net.minecraft.network.protocol.game.PacketPlayOutUpdateTime

Field summary

Modifier and TypeField
public static final StreamCodec<FriendlyByteBuf, ClientboundSetTimePacket>
a
STREAM_CODEC
field_47991
CODEC
f_315948_
private final long
b
gameTime
field_12621
time
f_133345_
private final long
c
dayTime
field_12620
timeOfDay
f_133346_

Constructor summary

ModifierConstructor
public (long time, long timeOfDay, boolean doDaylightCycle)
private (FriendlyByteBuf buf)

Method summary

Modifier and TypeMethod
private void
a(vw arg0)
write(FriendlyByteBuf arg0)
method_55938(class_2540 arg0)
write(PacketByteBuf buf)
m_133359_(C_4983_ arg0)
public PacketType<ClientboundSetTimePacket>
a()
type()
method_55846()
getPacketId()
m_5779_()
public void
a(abu arg0)
handle(ClientGamePacketListener arg0)
method_11872(class_2602 arg0)
apply(ClientPlayPacketListener arg0)
m_5797_(C_5031_ arg0)
public long
b()
getGameTime()
method_11871()
getTime()
m_133358_()
public long
e()
getDayTime()
method_11873()
getTimeOfDay()
m_133361_()