net.minecraft.network.protocol.game

public class ClientboundSetTimePacket

implements Packet<ClientGamePacketListener>

sw
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
private final long
a
gameTime
field_12621
time
f_133345_
private final long
b
dayTime
field_12620
timeOfDay
f_133346_

Constructor summary

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

Method summary

Modifier and TypeMethod
public void
a(og arg0)
write(FriendlyByteBuf arg0)
method_11052(class_2540 arg0)
write(PacketByteBuf arg0)
m_5779_(C_4983_ arg0)
public void
a(pn 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
c()
getDayTime()
method_11873()
getTimeOfDay()
m_133361_()