Uses of Record Class
net.minecraft.world.clock.ClockState
Packages that use ClockState
Package
Description
-
Uses of ClockState in net.minecraft.client
Method parameters in net.minecraft.client with type arguments of type ClockStateModifier and TypeMethodDescriptionvoidClientClockManager.handleUpdates(long gameTime, Map<Holder<WorldClock>, ClockState> updates) -
Uses of ClockState in net.minecraft.network.protocol.game
Fields in net.minecraft.network.protocol.game with type parameters of type ClockStateModifier and TypeFieldDescriptionprivate final Map<Holder<WorldClock>, ClockState> ClientboundSetTimePacket.clockUpdatesThe field for theclockUpdatesrecord component.Methods in net.minecraft.network.protocol.game that return types with arguments of type ClockStateModifier and TypeMethodDescriptionClientboundSetTimePacket.clockUpdates()Returns the value of theclockUpdatesrecord component.Constructor parameters in net.minecraft.network.protocol.game with type arguments of type ClockStateModifierConstructorDescriptionClientboundSetTimePacket(long gameTime, Map<Holder<WorldClock>, ClockState> clockUpdates) Creates an instance of aClientboundSetTimePacketrecord class. -
Uses of ClockState in net.minecraft.world.clock
Fields in net.minecraft.world.clock with type parameters of type ClockStateModifier and TypeFieldDescriptionprivate final Map<Holder<WorldClock>, ClockState> PackedClockStates.clocksThe field for theclocksrecord component.static final com.mojang.serialization.Codec<ClockState> ClockState.CODECstatic final StreamCodec<RegistryFriendlyByteBuf, ClockState> ClockState.STREAM_CODECMethods in net.minecraft.world.clock that return ClockStateModifier and TypeMethodDescriptionServerClockManager.ClockInstance.packNetworkState(MinecraftServer server) ServerClockManager.ClockInstance.packState()Methods in net.minecraft.world.clock that return types with arguments of type ClockStateModifier and TypeMethodDescriptionPackedClockStates.clocks()Returns the value of theclocksrecord component.Methods in net.minecraft.world.clock with parameters of type ClockStateModifier and TypeMethodDescriptionvoidServerClockManager.ClockInstance.loadFrom(ClockState state) Constructor parameters in net.minecraft.world.clock with type arguments of type ClockStateModifierConstructorDescriptionPackedClockStates(Map<Holder<WorldClock>, ClockState> clocks) Creates an instance of aPackedClockStatesrecord class.