Interface Mooshroom

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

public interface Mooshroom extends Animal, Shearable
A mooshroom (minecraft:mooshroom): it fills a bowl with mushroom stew, turns into a cow when sheared, and changes colour when lightning strikes it.

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

Since:
0.1.0
  • Method Details

    • variant

      Returns the colour of this mooshroom.
      Returns:
      the colour of this mooshroom
      Since:
      0.1.0
    • setVariant

      void setVariant(Mooshroom.Variant variant)
      Changes the colour of this mooshroom.
      Parameters:
      variant - the new colour
      Since:
      0.1.0