Wither Skeleton
Overview
Entity ID: witherSkeleton
Internal ID: Dynamically assigned via EntityRegistry.findGlobalUniqueEntityId()
Egg Colors: Primary 0x00003D (dark blue), Secondary 0x751947 (dark pink/magenta)
EntityWitherSkeleton is a Wither Skeleton variant mob added by EnderIO. It extends EntitySkeleton and is converted from a standard EntitySkeleton at spawn time when the skeleton type is 1 (Wither Skeleton).
Spawning
Wither Skeletons are not spawned separately — they are converted from regular Skeletons at world spawn time via SkeletonHandler. The conversion happens in two events:
LivingSpawnEvent— When a living entity spawns, if it is aEntitySkeletonwithgetSkeletonType() == 1, the original entity is set dead and replaced with anEntityWitherSkeleton.EntityJoinWorldEvent— As a fallback to catch any that slipped through, the same conversion is applied.
Registration is done via SkeletonHandler.registerSkeleton(mod) which registers the entity globally and to the mod entity tracking system with tracking range of 64 blocks and update frequency of 3.
Attributes
| Attribute | Value |
|---|---|
| Health | Inherits EntitySkeleton base (20 HP) |
| Attack Damage | 4.0 (set in onSpawnWithEgg) |
| Follow Range | Base + random Gaussian bonus (~0.05 variance) |
| Fire Resistance | Immune to fire damage (override setFire is empty) |
Equipment
- Weapon: Stone Sword (set in
onSpawnWithEgg) - Armor: Standard skeleton armor drops
- Pumpkin (October 31st): 10% chance for lit pumpkin, 15% chance for regular pumpkin if date is October 31st
Loot Table
Skull Drop (Beheading)
When killed by a player with a Tinkers’ Construct Cleaver:
- Drop: Wither Skeleton Skull (
Items.skulldamage 1) - Chance:
beheading × 10%per level (capped at 100%) - Beheading bonus: +2 from holding a Cleaver
Necrotic Bones
When killed by any living entity with Looting:
- Drop: Necrotic Bone (TConstruct materials item, damage 8)
- Chance:
1 / (1 - lootingLevel)per level — so level 1 = 50%, level 2 = 33%, level 3 = 25%
AI / Behavior
Inherits all AI from EntitySkeleton. Key behavioral differences from vanilla Wither Skeleton:
- Uses a Stone Sword instead of a Stone Sword (vanilla also uses stone sword for Wither Skeletons in newer versions)
- Same Wither Shield effect as vanilla (immune to arrows, takes reduced damage from swords)
- No Wither Boss behavior — this is a standard hostile mob, not the Wither boss
Notes
- The entity is immune to fire (
setFireoverride does nothing) - This entity coexists with the vanilla Wither Skeleton; Minecraft’s
EntitySkeletonalready handles skeleton type 1 as Wither Skeletons natively. This class primarily adds the Tinkers’ Construct integration (beheading, necrotic bones).
第三方集成
| 集成 Mod | 集成类型 | 功能 |
|---|---|---|
| Thaumcraft | 要素注册 | 物品要素标签 |