Class WorldTimeUpdateS2CPacket
java.lang.Object
net.minecraft.network.packet.s2c.play.WorldTimeUpdateS2CPacket
- All Implemented Interfaces:
Packet<ClientPlayPacketListener>
public class WorldTimeUpdateS2CPacket extends Object implements Packet<ClientPlayPacketListener>
- Mappings:
Namespace Name official sc
intermediary net/minecraft/class_2761
named net/minecraft/network/packet/s2c/play/WorldTimeUpdateS2CPacket
-
Field Summary
-
Constructor Summary
Constructors Constructor Description WorldTimeUpdateS2CPacket()
WorldTimeUpdateS2CPacket(long time, long timeOfDay, boolean doDaylightCycle)
-
Method Summary
Modifier and Type Method Description void
apply(ClientPlayPacketListener clientPlayPacketListener)
long
getTime()
long
getTimeOfDay()
void
read(PacketByteBuf buf)
void
write(PacketByteBuf buf)
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface net.minecraft.network.Packet
isWritingErrorSkippable
-
Field Details
-
time
private long time- Mappings:
Namespace Name Mixin selector official a
Lsc;a:J
intermediary field_12621
Lnet/minecraft/class_2761;field_12621:J
named time
Lnet/minecraft/network/packet/s2c/play/WorldTimeUpdateS2CPacket;time:J
-
timeOfDay
private long timeOfDay- Mappings:
Namespace Name Mixin selector official b
Lsc;b:J
intermediary field_12620
Lnet/minecraft/class_2761;field_12620:J
named timeOfDay
Lnet/minecraft/network/packet/s2c/play/WorldTimeUpdateS2CPacket;timeOfDay:J
-
-
Constructor Details
-
WorldTimeUpdateS2CPacket
public WorldTimeUpdateS2CPacket() -
WorldTimeUpdateS2CPacket
public WorldTimeUpdateS2CPacket(long time, long timeOfDay, boolean doDaylightCycle)- Mappings:
Namespace Name Mixin selector official <init>
Lsc;<init>(JJZ)V
intermediary <init>
Lnet/minecraft/class_2761;<init>(JJZ)V
named <init>
Lnet/minecraft/network/packet/s2c/play/WorldTimeUpdateS2CPacket;<init>(JJZ)V
-
-
Method Details
-
read
- Specified by:
read
in interfacePacket<ClientPlayPacketListener>
- Throws:
IOException
- Mappings:
Namespace Name Mixin selector official a
Lpa;a(Lnw;)V
intermediary method_11053
Lnet/minecraft/class_2596;method_11053(Lnet/minecraft/class_2540;)V
named read
Lnet/minecraft/network/Packet;read(Lnet/minecraft/network/PacketByteBuf;)V
-
write
- Specified by:
write
in interfacePacket<ClientPlayPacketListener>
- Throws:
IOException
- Mappings:
Namespace Name Mixin selector official b
Lpa;b(Lnw;)V
intermediary method_11052
Lnet/minecraft/class_2596;method_11052(Lnet/minecraft/class_2540;)V
named write
Lnet/minecraft/network/Packet;write(Lnet/minecraft/network/PacketByteBuf;)V
-
apply
- Specified by:
apply
in interfacePacket<ClientPlayPacketListener>
- Mappings:
Namespace Name Mixin selector official a
Lsc;a(Lpd;)V
intermediary method_11872
Lnet/minecraft/class_2761;method_11872(Lnet/minecraft/class_2602;)V
named apply
Lnet/minecraft/network/packet/s2c/play/WorldTimeUpdateS2CPacket;apply(Lnet/minecraft/network/listener/ClientPlayPacketListener;)V
-
getTime
- Mappings:
Namespace Name Mixin selector official b
Lsc;b()J
intermediary method_11871
Lnet/minecraft/class_2761;method_11871()J
named getTime
Lnet/minecraft/network/packet/s2c/play/WorldTimeUpdateS2CPacket;getTime()J
-
getTimeOfDay
- Mappings:
Namespace Name Mixin selector official c
Lsc;c()J
intermediary method_11873
Lnet/minecraft/class_2761;method_11873()J
named getTimeOfDay
Lnet/minecraft/network/packet/s2c/play/WorldTimeUpdateS2CPacket;getTimeOfDay()J
-