Class ClientboundSetTimePacket
java.lang.Object
net.minecraft.network.protocol.game.ClientboundSetTimePacket
- All Implemented Interfaces:
- Packet<ClientGamePacketListener>
- 
Field SummaryFields
- 
Constructor SummaryConstructorsConstructorDescriptionClientboundSetTimePacket(long p_133349_, long p_133350_, boolean p_133351_) ClientboundSetTimePacket(FriendlyByteBuf p_179387_) 
- 
Method SummaryModifier and TypeMethodDescriptionlonglongvoidhandle(ClientGamePacketListener p_133357_) voidwrite(FriendlyByteBuf p_133360_) Methods inherited from class java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface net.minecraft.network.protocol.PacketisSkippable, nextProtocol
- 
Field Details- 
gameTimeprivate final long gameTime
- 
dayTimeprivate final long dayTime
 
- 
- 
Constructor Details- 
ClientboundSetTimePacketpublic ClientboundSetTimePacket(long p_133349_, long p_133350_, boolean p_133351_) 
- 
ClientboundSetTimePacket
 
- 
- 
Method Details- 
write- Specified by:
- writein interface- Packet<ClientGamePacketListener>
 
- 
handle- Specified by:
- handlein interface- Packet<ClientGamePacketListener>
 
- 
getGameTimepublic long getGameTime()
- 
getDayTimepublic long getDayTime()
 
-