Interface Snowman

All Superinterfaces:
Attributable, CommandSender, Creature, Damageable, Entity, Golem, LivingEntity, Lootable, Metadatable, Mob, Nameable, Permissible, PersistentDataHolder, ProjectileSource, ServerOperator

public interface Snowman
extends Golem
Represents a snowman entity
  • Method Details

    • isDerp

      boolean isDerp()
      Gets whether this snowman is in "derp mode", meaning it is not wearing a pumpkin.
      Returns:
      True if the snowman is bald, false if it is wearing a pumpkin
    • setDerp

      void setDerp​(boolean derpMode)
      Sets whether this snowman is in "derp mode", meaning it is not wearing a pumpkin. NOTE: This value is not persisted to disk and will therefore reset when the chunk is reloaded.
      Parameters:
      derpMode - True to remove the pumpkin, false to add a pumpkin