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 Type
    Method
    Description
    boolean
    Checks if the ticker applies to the given entity
    void
    Called when the entity's baseTick is called
  • Method Details

    • applies

      boolean applies(PixelmonEntity entity)
      Checks if the ticker applies to the given entity
      Parameters:
      entity - The entity being checked
      Returns:
      True if applies
    • tick

      void tick(PixelmonEntity entity)
      Called when the entity's baseTick is called
      Parameters:
      entity - The entity being ticked