Uses of Class
com.hypixel.hytale.server.core.modules.time.WorldTimeResource
Packages that use WorldTimeResource
Package
Description
-
Uses of WorldTimeResource in com.hypixel.hytale.builtin.adventure.farming.states
Methods in com.hypixel.hytale.builtin.adventure.farming.states with parameters of type WorldTimeResourceModifier and TypeMethodDescriptionbooleanCoopBlock.generateProduceToInventory(WorldTimeResource worldTimeResource) Called to attempt to generate produce from residents to the coop's inventory.CoopBlock.getNextScheduledTick(WorldTimeResource worldTimeResource) Calculates the next scheduled tick time for resident movement based on the world time.voidCoopBlock.handleBlockBroken(World world, WorldTimeResource worldTimeResource, Store<EntityStore> store, int blockX, int blockY, int blockZ) Called to handle the breaking of the coop block in the world.booleanCoopBlock.shouldResidentsBeInCoop(WorldTimeResource worldTimeResource) Determines whether the residents of the coop should currently be in the coop based on the world time.booleanCoopBlock.tryPutResident(CapturedNPCMetadata metadata, WorldTimeResource worldTimeResource) Called to attempt to add the given resident to the coop.booleanCoopBlock.tryPutWildResidentFromWild(Store<EntityStore> store, Ref<EntityStore> entityRef, WorldTimeResource worldTimeResource, org.joml.Vector3i coopLocation) Called to attempt to add the given wild NPC as a resident to the coop. -
Uses of WorldTimeResource in com.hypixel.hytale.builtin.beds.sleep.components
Methods in com.hypixel.hytale.builtin.beds.sleep.components with parameters of type WorldTimeResourceModifier and TypeMethodDescriptionstatic PlayerSomnolencePlayerSleep.Slumber.createComponent(WorldTimeResource worldTimeResource) -
Uses of WorldTimeResource in com.hypixel.hytale.server.core.modules.time
Methods in com.hypixel.hytale.server.core.modules.time that return types with arguments of type WorldTimeResourceModifier and TypeMethodDescriptionstatic ResourceType<EntityStore, WorldTimeResource> WorldTimeResource.getResourceType()TimeModule.getWorldTimeResourceType()Constructor parameters in com.hypixel.hytale.server.core.modules.time with type arguments of type WorldTimeResourceModifierConstructorDescriptionInit(ResourceType<EntityStore, WorldTimeResource> worldTimeResourceType) Default Constructor for aWorldTimeSystems.Initinstance.Ticking(ResourceType<EntityStore, WorldTimeResource> worldTimeResourceType) Default Constructor for aWorldTimeSystems.Tickinginstance.TimePacketSystem(ResourceType<EntityStore, WorldTimeResource> worldTimeResourceType) Default Constructor for aTimePacketSysteminstance. -
Uses of WorldTimeResource in com.hypixel.hytale.server.spawning
Methods in com.hypixel.hytale.server.spawning with parameters of type WorldTimeResourceModifier and TypeMethodDescriptionbooleanSpawningPlugin.shouldNPCDespawn(Store<EntityStore> store, NPCEntity npcComponent, WorldTimeResource timeManager, int configuration, boolean beaconSpawn) -
Uses of WorldTimeResource in com.hypixel.hytale.server.spawning.wrappers
Methods in com.hypixel.hytale.server.spawning.wrappers with parameters of type WorldTimeResourceModifier and TypeMethodDescriptionbooleanSpawnWrapper.shouldDespawn(World world, WorldTimeResource timeManager)