Interface Snowman

All Superinterfaces:
Attributable, Audience, CommandSender, Creature, Damageable, Entity, Frictional, Golem, HoverEventSource<HoverEvent.ShowEntity>, LivingEntity, Lootable, Metadatable, Mob, Nameable, Permissible, PersistentDataHolder, Pointered, ProjectileSource, RangedEntity, ServerOperator, Sound.Emitter

public interface Snowman extends Golem, RangedEntity
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