Class WorldTimeUpdateS2CPacket
java.lang.Object
net.minecraft.network.packet.s2c.play.WorldTimeUpdateS2CPacket
- All Implemented Interfaces:
Packet<ClientPlayPacketListener>
- Mappings:
Namespace Name named net/minecraft/network/packet/s2c/play/WorldTimeUpdateS2CPacket
intermediary net/minecraft/class_2761
official afz
-
Field Summary
Modifier and TypeFieldDescriptionstatic final PacketCodec
<PacketByteBuf, WorldTimeUpdateS2CPacket> private final long
private final long
-
Constructor Summary
ModifierConstructorDescriptionWorldTimeUpdateS2CPacket
(long time, long timeOfDay, boolean doDaylightCycle) private
-
Method Summary
Modifier and TypeMethodDescriptionvoid
apply
(ClientPlayPacketListener clientPlayPacketListener) long
getTime()
long
private 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, transitionsNetworkState
-
Field Details
-
CODEC
- Mappings:
Namespace Name Mixin selector named CODEC
Lnet/minecraft/network/packet/s2c/play/WorldTimeUpdateS2CPacket;CODEC:Lnet/minecraft/network/codec/PacketCodec;
intermediary field_47991
Lnet/minecraft/class_2761;field_47991:Lnet/minecraft/class_9139;
official a
Lafz;a:Lzn;
-
time
private final long time- Mappings:
Namespace Name Mixin selector named time
Lnet/minecraft/network/packet/s2c/play/WorldTimeUpdateS2CPacket;time:J
intermediary field_12621
Lnet/minecraft/class_2761;field_12621:J
official b
Lafz;b:J
-
timeOfDay
private final long timeOfDay- Mappings:
Namespace Name Mixin selector named timeOfDay
Lnet/minecraft/network/packet/s2c/play/WorldTimeUpdateS2CPacket;timeOfDay:J
intermediary field_12620
Lnet/minecraft/class_2761;field_12620:J
official c
Lafz;c:J
-
-
Constructor Details
-
WorldTimeUpdateS2CPacket
public WorldTimeUpdateS2CPacket(long time, long timeOfDay, boolean doDaylightCycle) - Mappings:
Namespace Name Mixin selector named <init>
Lnet/minecraft/network/packet/s2c/play/WorldTimeUpdateS2CPacket;<init>(JJZ)V
intermediary <init>
Lnet/minecraft/class_2761;<init>(JJZ)V
official <init>
Lafz;<init>(JJZ)V
-
WorldTimeUpdateS2CPacket
- Mappings:
Namespace Name Mixin selector named <init>
Lnet/minecraft/network/packet/s2c/play/WorldTimeUpdateS2CPacket;<init>(Lnet/minecraft/network/PacketByteBuf;)V
intermediary <init>
Lnet/minecraft/class_2761;<init>(Lnet/minecraft/class_2540;)V
official <init>
Lafz;<init>(Lwm;)V
-
-
Method Details
-
write
- Mappings:
Namespace Name Mixin selector named write
Lnet/minecraft/network/packet/s2c/play/WorldTimeUpdateS2CPacket;write(Lnet/minecraft/network/PacketByteBuf;)V
intermediary method_55938
Lnet/minecraft/class_2761;method_55938(Lnet/minecraft/class_2540;)V
official a
Lafz;a(Lwm;)V
-
getPacketId
- Specified by:
getPacketId
in interfacePacket<ClientPlayPacketListener>
- Mappings:
Namespace Name Mixin selector named getPacketId
Lnet/minecraft/network/packet/Packet;getPacketId()Lnet/minecraft/network/packet/PacketType;
intermediary method_55846
Lnet/minecraft/class_2596;method_55846()Lnet/minecraft/class_9145;
official a
Lzw;a()Lzy;
-
apply
- Specified by:
apply
in interfacePacket<ClientPlayPacketListener>
- Mappings:
Namespace Name Mixin selector named apply
Lnet/minecraft/network/packet/s2c/play/WorldTimeUpdateS2CPacket;apply(Lnet/minecraft/network/listener/ClientPlayPacketListener;)V
intermediary method_11872
Lnet/minecraft/class_2761;method_11872(Lnet/minecraft/class_2602;)V
official a
Lafz;a(Laci;)V
-
getTime
public long getTime()- Mappings:
Namespace Name Mixin selector named getTime
Lnet/minecraft/network/packet/s2c/play/WorldTimeUpdateS2CPacket;getTime()J
intermediary method_11871
Lnet/minecraft/class_2761;method_11871()J
official b
Lafz;b()J
-
getTimeOfDay
public long getTimeOfDay()- Mappings:
Namespace Name Mixin selector named getTimeOfDay
Lnet/minecraft/network/packet/s2c/play/WorldTimeUpdateS2CPacket;getTimeOfDay()J
intermediary method_11873
Lnet/minecraft/class_2761;method_11873()J
official e
Lafz;e()J
-