Snow Golem (New)
Registry name
etfuturum:snow_golem
Audit correction: previously written as
etfuturum.newSnowGolem. This name overrides the vanilla entity of the same name. Evidence:core/proxy/CommonProxy.java:255registerEntity(EntityNewSnowGolem.class, "snow_golem", 11, ...)
Basic info
- Health: Inherited from
EntitySnowman(standard snow golem health: 4 HP) - Armor: None
- Size: Inherited from
EntitySnowman(standard snow golem size) - Spawn conditions: Inherits from
EntitySnowman; can be spawned by player or naturally in snowy biomes - Drops: Pumpkins (when sheared), snowballs (default)
- Behaviour: Snow golem with shearing support. Key change: pumpkin is a separate equippable item, stored as a data watcher flag, rather than baked into the entity model.
Differences from vanilla EntitySnowman
| Feature | Vanilla | This mod |
|---|---|---|
| Pumpkin | Hardcoded as part of model | Equipable/removable via IShearable |
| Shearing | Not supported | Supported: shear pumpkin off → drops pumpkin item, sets HasPumpkin=0 |
| Shearing result | N/A | Blocks.pumpkin item |
Pumpkin state
- Data watcher object
HAS_PUMPKIN(id 12):1= has pumpkin,0= no pumpkin - NBT key:
"HasPumpkin"boolean hasPumpkin(): returns true if data watcher byte == 1
IShearable implementation
isShearable: returnshasPumpkin()— only shears when pumpkin is equippedonSheared: returnsArrayList<ItemStack>containing one pumpkin block; clearsHAS_PUMPKINflag
Notes
- Extends
EntitySnowman(which extendsEntityGolem→EntityCreature→EntityLiving→Entity) - All other snow golem behaviour (snowball shooting, AI, health) is unchanged
getPickedResultusesWOODEN_ARMORSTAND? No — inherits from parent. ActuallygetPickedResultis overridden inEntityArmourStandonly; this class does not override it.- Sound events inherited from parent class
Configuration gate
- Entity registration:
ConfigEntities.enableShearableSnowGolems, keyenableShearableSnowGolems, default ON (configuration/configs/ConfigEntities.java:66; wiring atcore/proxy/CommonProxy.java:254-255). This entity replaces the vanillaminecraft:snow_golem, so turning the option off restores the vanilla snow golem.