Class WorldTimeUpdateS2CPacket
java.lang.Object
net.minecraft.network.packet.s2c.play.WorldTimeUpdateS2CPacket
- All Implemented Interfaces:
Packet<ClientPlayPacketListener>
- Mappings:
Namespace Name official yi
intermediary net/minecraft/class_2761
named net/minecraft/network/packet/s2c/play/WorldTimeUpdateS2CPacket
-
Field Summary
-
Constructor Summary
ConstructorDescriptionWorldTimeUpdateS2CPacket
(long time, long timeOfDay, boolean doDaylightCycle) -
Method Summary
Modifier and TypeMethodDescriptionvoid
apply
(ClientPlayPacketListener clientPlayPacketListener) long
getTime()
long
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.Packet
isWritingErrorSkippable
-
Field Details
-
time
private final long time- Mappings:
Namespace Name Mixin selector official a
Lyi;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 final long timeOfDay- Mappings:
Namespace Name Mixin selector official b
Lyi;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(long time, long timeOfDay, boolean doDaylightCycle) - Mappings:
Namespace Name Mixin selector official <init>
Lyi;<init>(JJZ)V
intermediary <init>
Lnet/minecraft/class_2761;<init>(JJZ)V
named <init>
Lnet/minecraft/network/packet/s2c/play/WorldTimeUpdateS2CPacket;<init>(JJZ)V
-
WorldTimeUpdateS2CPacket
- Mappings:
Namespace Name Mixin selector official <init>
Lyi;<init>(Lsf;)V
intermediary <init>
Lnet/minecraft/class_2761;<init>(Lnet/minecraft/class_2540;)V
named <init>
Lnet/minecraft/network/packet/s2c/play/WorldTimeUpdateS2CPacket;<init>(Lnet/minecraft/network/PacketByteBuf;)V
-
-
Method Details
-
write
- Specified by:
write
in interfacePacket<ClientPlayPacketListener>
- Mappings:
Namespace Name Mixin selector official a
Luo;a(Lsf;)V
intermediary method_11052
Lnet/minecraft/class_2596;method_11052(Lnet/minecraft/class_2540;)V
named write
Lnet/minecraft/network/packet/Packet;write(Lnet/minecraft/network/PacketByteBuf;)V
-
apply
- Specified by:
apply
in interfacePacket<ClientPlayPacketListener>
- Mappings:
Namespace Name Mixin selector official a
Lyi;a(Lur;)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
public long getTime()- Mappings:
Namespace Name Mixin selector official a
Lyi;a()J
intermediary method_11871
Lnet/minecraft/class_2761;method_11871()J
named getTime
Lnet/minecraft/network/packet/s2c/play/WorldTimeUpdateS2CPacket;getTime()J
-
getTimeOfDay
public long getTimeOfDay()- Mappings:
Namespace Name Mixin selector official c
Lyi;c()J
intermediary method_11873
Lnet/minecraft/class_2761;method_11873()J
named getTimeOfDay
Lnet/minecraft/network/packet/s2c/play/WorldTimeUpdateS2CPacket;getTimeOfDay()J
-