Uses of Class
com.hypixel.hytale.server.core.modules.entity.DespawnComponent
Packages that use DespawnComponent
-
Uses of DespawnComponent in com.hypixel.hytale.server.core.modules.entity
Fields in com.hypixel.hytale.server.core.modules.entity with type parameters of type DespawnComponentModifier and TypeFieldDescriptionstatic final BuilderCodec<DespawnComponent> DespawnComponent.CODECMethods in com.hypixel.hytale.server.core.modules.entity that return DespawnComponentModifier 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.Methods in com.hypixel.hytale.server.core.modules.entity that return types with arguments of type DespawnComponentModifier and TypeMethodDescriptionstatic ComponentType<EntityStore, DespawnComponent> DespawnComponent.getComponentType()EntityModule.getDespawnComponentType()Methods in com.hypixel.hytale.server.core.modules.entity with parameters of type DespawnComponentModifier and TypeMethodDescriptionstatic 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.Constructor parameters in com.hypixel.hytale.server.core.modules.entity with type arguments of type DespawnComponentModifierConstructorDescriptionDespawnSystem(ComponentType<EntityStore, DespawnComponent> despawnComponentType)