Interface EntityTicker
- All Known Implementing Classes:
RainbowMareepTicker
,RainbowWoolooTicker
public interface EntityTicker
Interface for modifying an entity every tick (or x ticks)
-
Method Summary
Modifier and TypeMethodDescriptionboolean
applies
(PixelmonEntity entity) Checks if the ticker applies to the given entityvoid
tick
(PixelmonEntity entity) Called when the entity's baseTick is called
-
Method Details
-
applies
Checks if the ticker applies to the given entity- Parameters:
entity
- The entity being checked- Returns:
- True if applies
-
tick
Called when the entity's baseTick is called- Parameters:
entity
- The entity being ticked
-