Brown Mooshroom
Registry name
etfuturum:brown_mooshroom
Audit correction: previously written as
etfuturum.brownMooshroom. That was derived from the Java constant name, not the string argument passed toModEntityList.registerEntity. Evidence:core/proxy/CommonProxy.java:258registerEntity(EntityBrownMooshroom.class, "brown_mooshroom", 12, ...)
Basic info
-
Health: Inherited from
EntityMooshroom(standard cow health: 10 HP) -
Armor: None
-
Size: Inherited from
EntityMooshroom -
Spawn conditions: No
EntityRegistry.addSpawnentry exists forEntityBrownMooshroomin this source tree. The config’s own description states the actual acquisition route: “Brown mooshroom variant, the red mooshrooms turn into then when they are hit by lightning” (configuration/configs/ConfigEntities.java:51). Also obtainable via theetfuturum:brown_mooshroomspawn egg / commands.Audit correction: the previous text said brown mooshrooms “spawn in mushroom fields biome”. No biome spawn entry for them exists in this repository.
Configuration gate
- Entity registration:
ConfigEntities.enableBrownMooshroom, keyenableBrownMooshroom, default ON (configuration/configs/ConfigEntities.java:51). - 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