Brown Mooshroom
Registry name
etfuturum.brownMooshroom
Basic info
- Health: Inherited from
EntityMooshroom(standard cow health: 10 HP) - Armor: None
- Size: Inherited from
EntityMooshroom - Spawn conditions: Brown mooshrooms spawn in mushroom fields biome; also obtainable by shearing a red mooshroom
- Drops: Brown mushrooms (5 items when sheared), suspicious stew (when using bowl while holding effect)
- Behaviour: Brown-variant of the mooshroom. Shearing converts it to a normal cow. Feeding it suspicious stew gives it a stored effect that can be harvested as suspicious stew.
Shearing
onSheared(ItemStack, ...):- Spawns
EntityCowat the same position with same health/rotation - Dies
- Returns 5×
Blocks.brown_mushroom - Plays sheep-shear sound and largeexplode particle
- Spawns
Suspicious stew interaction
The brown mooshroom can store one potion effect:
Feeding the mooshroom (right-click with suspicious stew):
- Stores the stew’s effect ID and duration
- Consumes 1 stew from player’s hand
- Plays 4× mobSpell particles
Harvesting (right-click with empty bowl, adult only):
- Creates a new
ItemSuspiciousStewstack with the stored effect - Clears the stored effect
- Bowl is consumed (or swapped if player had a full stack)
- If effect duration was 0, defaults to 160 ticks
Feeding effect: Any effect from EtFuturum.getSuspiciousStewEffect() (the stew’s stored effect)
Stored effect
effectID(byte): potion ID (0 if none)effectDuration(int): duration in ticks (0 if none)- Persisted via entity data (not NBT directly — stored in
getEntityData()separately from super NBT)
Notes
- Extends
EntityMooshroom(which extendsEntityCow) createChild()returns a newEntityBrownMooshroominteract()first checks for stew/bowl interaction, then falls back to parent cow logic- The mooshroom can be naming-named (custom name tag supported by entity base)
- Suspicious stew effects stored:
EffectIdandEffectDurationNBT tags in the entity data compound