Interface Frostbite

All Superinterfaces:
Entity, HoverEventSource<HoverEvent.ShowEntity>, LivingEntity, Mob, SchedulerSource, Sound.Emitter, Sound.Source.Provider, Zombie

public interface Frostbite extends Zombie
A frostbite (minecraft:frostbite): the zombie of the cold, tougher and slower than the zombie. It chills what it hits, and throws ice balls at what it cannot reach while it holds one. Under water, it turns into a zombie.
Since:
0.1.0
  • Method Details

    • holdsIceBall

      boolean holdsIceBall()
      Returns true if this frostbite holds an ice ball.: it then throws it, again and again, at a target it cannot hit with its fists
      Returns:
      true if this frostbite holds an ice ball
      Since:
      0.1.0
    • setHoldsIceBall

      void setHoldsIceBall(boolean holdsIceBall)
      Gives this frostbite an ice ball to throw, or takes it away.
      Parameters:
      holdsIceBall - true to give it one
      Since:
      0.1.0
    • isRanged

      boolean isRanged()
      Returns true while this frostbite throws ice balls rather than using its fists.
      Returns:
      true while this frostbite throws ice balls rather than using its fists
      Since:
      0.1.0
    • setRangedAttackUncertainty

      void setRangedAttackUncertainty(float uncertainty)
      Sets how much the throws of this frostbite stray, in place of what the difficulty gives.
      Parameters:
      uncertainty - 0 for throws that go straight at the target, a negative value to follow the difficulty again
      Since:
      0.1.0