Uses of Class
com.hypixel.hytale.server.core.modules.time.TimeResource
Packages that use TimeResource
Package
Description
-
Uses of TimeResource in com.hypixel.hytale.builtin.mounts
Constructor parameters in com.hypixel.hytale.builtin.mounts with type arguments of type TimeResourceModifierConstructorDescriptionOnMinecartHit(ComponentType<EntityStore, MinecartComponent> minecartComponentType, ComponentType<EntityStore, TransformComponent> transformComponentType, ComponentType<EntityStore, Player> playerComponentType, ResourceType<EntityStore, TimeResource> timeResourceType) -
Uses of TimeResource in com.hypixel.hytale.server.core.entity.entities
Methods in com.hypixel.hytale.server.core.entity.entities with parameters of type TimeResourceModifier and TypeMethodDescriptionstatic Holder<EntityStore> BlockEntity.assembleDefaultBlockEntity(TimeResource time, String blockTypeKey, org.joml.Vector3d position) static Holder<EntityStore> ProjectileComponent.assembleDefaultProjectile(TimeResource time, String projectileAssetName, org.joml.Vector3d position, Rotation3f rotation) Creates a new entity holder, using the given projectile name, position and rotation -
Uses of TimeResource in com.hypixel.hytale.server.core.modules.entity
Methods in com.hypixel.hytale.server.core.modules.entity with parameters of type TimeResourceModifier and TypeMethodDescriptionstatic DespawnComponentDespawnComponent.despawnInMilliseconds(TimeResource time, long milliseconds) Returns aDespawnComponentthat will be marked for despawn in an amount of milliseconds from now.static DespawnComponentDespawnComponent.despawnInSeconds(TimeResource time, float seconds) Returns aDespawnComponentthat will be marked for despawn in an amount of seconds from now.static DespawnComponentDespawnComponent.despawnInSeconds(TimeResource time, int seconds) Returns aDespawnComponentthat will be marked for despawn in an amount of seconds from now.static voidDespawnComponent.trySetDespawn(CommandBuffer<EntityStore> commandBuffer, TimeResource timeResource, Ref<EntityStore> ref, DespawnComponent despawnComponent, Float newLifetime) Helper that sets the lifetime of an entity to the given value if it isn't null. -
Uses of TimeResource in com.hypixel.hytale.server.core.modules.time
Fields in com.hypixel.hytale.server.core.modules.time with type parameters of type TimeResourceModifier and TypeFieldDescriptionstatic final BuilderCodec<TimeResource> TimeResource.CODECThe codec used to parseTimeResourceinstances.Methods in com.hypixel.hytale.server.core.modules.time that return types with arguments of type TimeResourceModifier and TypeMethodDescriptionstatic ResourceType<EntityStore, TimeResource> TimeResource.getResourceType()TimeModule.getTimeResourceType()Constructor parameters in com.hypixel.hytale.server.core.modules.time with type arguments of type TimeResourceModifierConstructorDescriptionTimeSystem(ResourceType<EntityStore, TimeResource> timeResourceType) Default Constructor for aTimeSysteminstance.