Interface Slime

All Superinterfaces:
Attributable, Audience, CommandSender, Damageable, Entity, HoverEventSource<HoverEvent.ShowEntity>, LivingEntity, Lootable, Metadatable, Mob, Nameable, Permissible, PersistentDataHolder, 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