Interface Shearable

All Superinterfaces:
Entity, HoverEventSource<HoverEvent.ShowEntity>, LivingEntity, Mob, SchedulerSource, Sound.Emitter, Sound.Source.Provider
All Known Subinterfaces:
Mooshroom, Sheep, SulfurCube

public interface Shearable extends Mob
A mob that shears cut something off: a sheep its wool, a mooshroom its mushrooms.

Like every entity, change it from the region thread owning its chunk.

Since:
0.1.0
  • Method Details

    • readyForShearing

      boolean readyForShearing()
      Returns true if shears would cut something off this mob now.
      Returns:
      true if shears would cut something off this mob now
      Since:
      0.1.0
    • shear

      void shear()
      Shears this mob, as a player with shears does, whether it is ready or not: what is cut off falls around it.
      Since:
      0.1.0