Record Class WorldClock
java.lang.Object
java.lang.Record
net.minecraft.world.clock.WorldClock
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final com.mojang.serialization.Codec<Holder<WorldClock>> static final com.mojang.serialization.Codec<WorldClock> static final StreamCodec<RegistryFriendlyByteBuf, Holder<WorldClock>> -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
CODEC
-
STREAM_CODEC
-
DIRECT_CODEC
-
-
Constructor Details
-
WorldClock
public WorldClock()Creates an instance of aWorldClockrecord class.
-
-
Method Details
-
toString
-
hashCode
-
equals
Indicates whether some other object is "equal to" this one. The objects are equal if the other object is of the same class and if all the record components are equal.
-