Interface Mooshroom
- All Superinterfaces:
Ageable, Animal, Entity, HoverEventSource<HoverEvent.ShowEntity>, LivingEntity, Mob, SchedulerSource, Shearable, Sound.Emitter, Sound.Source.Provider
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic enumThe colour of a mooshroom, in the order of the game's ids. -
Field Summary
Fields inherited from interface Ageable
BABY_START_AGEFields inherited from interface Animal
LOVE_TICKS -
Method Summary
Modifier and TypeMethodDescriptionvoidsetVariant(Mooshroom.Variant variant) Changes the colour of this mooshroom.variant()Returns the colour of this mooshroom.Methods inherited from interface Ageable
age, isAgeLocked, isBaby, setAge, setAgeLocked, setBabyMethods inherited from interface Animal
inLoveTime, isFood, isInLove, isPanicking, loveCause, resetLove, setInLoveMethods inherited from interface Entity
chunk, displayName, entityId, isRemoved, location, remove, server, teleport, teleport, teleport, type, uuid, worldMethods inherited from interface HoverEventSource
asHoverEvent, asHoverEventMethods inherited from interface LivingEntity
absorptionAmount, activeEffects, addEffect, armor, armorToughness, clearEffects, damage, effect, equipment, fireTicks, hasEffect, headYaw, heal, health, isAlive, isDead, kill, knockbackResistance, maxHealth, removeEffect, setAbsorptionAmount, setFireTicks, setHeadYaw, setHealthMethods inherited from interface Mob
attackDamage, behaviour, behaviours, definition, distanceSqTo, followRange, goals, hasLineOfSightTo, height, lookAt, lookAt, movementSpeed, navigateTo, navigation, nearestPlayer, onGround, playSound, setFollowRange, setMoveSpeed, setTarget, setVelocity, target, velocityX, velocityY, velocityZ, widthMethods inherited from interface SchedulerSource
execute, execute, executeDelayed, executeDelayed, isOwnedByCurrentThreadMethods inherited from interface Shearable
readyForShearing, shearMethods inherited from interface Sound.Source.Provider
soundSource
-
Method Details
-
variant
Mooshroom.Variant variant()Returns the colour of this mooshroom.- Returns:
- the colour of this mooshroom
- Since:
- 0.1.0
-
setVariant
Changes the colour of this mooshroom.- Parameters:
variant- the new colour- Since:
- 0.1.0
-