Package net.minestom.server
Interface Tickable
- All Known Implementing Classes:
Chunk,DynamicChunk,Entity,EntityCreature,EntityProjectile,ExperienceOrb,Instance,InstanceContainer,ItemEntity,LightingChunk,LivingEntity,Player,PlayerProjectile,SharedInstance
public interface Tickable
Represents an element which is ticked at a regular interval.
-
Method Summary
-
Method Details
-
tick
void tick(long time) Ticks this element.- Parameters:
time- the time of the tick in milliseconds
-