Interface Slime

All Superinterfaces:
Attributable, net.kyori.adventure.audience.Audience, CommandSender, Damageable, Entity, net.kyori.adventure.text.event.HoverEventSource<net.kyori.adventure.text.event.HoverEvent.ShowEntity>, LivingEntity, Lootable, Metadatable, Mob, Nameable, Permissible, PersistentDataHolder, net.kyori.adventure.pointer.Pointered, ProjectileSource, ServerOperator
All Known Subinterfaces:
MagmaCube

public interface Slime extends Mob
Represents a Slime.
  • Method Details

    • getSize

      int getSize()
      Returns:
      The size of the slime
    • setSize

      void setSize(int sz)
      Parameters:
      sz - The new size of the slime.
    • canWander

      boolean canWander()
      Get whether this slime can randomly wander/jump around on its own
      Returns:
      true if can wander
    • setWander

      void setWander(boolean canWander)
      Set whether this slime can randomly wander/jump around on its own
      Parameters:
      canWander - true if can wander