Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Endeleton:
- Type: SKELETON # base entity
- Display: "&5Endeleton"
- Health: 40 # 40 health = 20 hearts:contentReference[oaicite:0]{index=0}
- Damage: 6 # melee damage (3 hearts):contentReference[oaicite:1]{index=1}
- Armor: 6 # base armor value like chainmail:contentReference[oaicite:2]{index=2}
- ArmorToughness: 1.5
- Equipment:
- - bow HAND
- Options:
- PreventSunburn: true
- KnockbackResistance: 0.20 # 0‑1 range:contentReference[oaicite:4]{index=4}
- MovementSpeed: 0.30 # custom movement speed:contentReference[oaicite:5]{index=5}
- FollowRange: 50 # detects players from farther away:contentReference[oaicite:6]{index=6}
- PreventOtherDrops: true # disable vanilla drops
- # AI: use ranged & melee goals similar to skeletons
- AIGoalSelectors:
- - clear
- - bowattack
- - lookatplayers
- - randomstroll
- - randomlookaround
- AITargetSelectors:
- - clear
- - attacker
- - players
- # Skills: call our meta‑skills via triggers:contentReference[oaicite:7]{index=7}
- Skills:
- # shoot custom arrow when the mob fires a projectile (onShoot)
- - skill{s=EndeletonShoot} @target ~onShoot ?!blocktype{type=water}
- - skill{s=EndeletonShootUnderwater} @target ~onShoot ?blocktype{type=water}
- # teleport away when damaged (10 s cooldown)
- - skill{s=EndeletonTeleportOnDamage} @self ~onDamaged
- - skill{s=EndeletonTeleportOnEnterCombat} @self ~onDamaged
- - skill{s=EndeletonTeleportOnMass} @self ~onDamaged
- # periodically check line‑of‑sight and teleport away if broken
- - skill{s=EndeletonTeleportLOS} @self ~onTimer:100
- - skill{s=EndeletonTeleportOnDamageSuffocation} @self ~OnDamaged
- - skill{s=EndeletonTeleportOnDamageLava} @self ~OnDamaged
- - skill{s=EndeletonTeleportOnBowHit;sync=true} @self ~onDamaged
- # Custom drops (Bones, Arrows and Ender Pearl)
- Drops: # drop format: <item> <amount> <chance>:contentReference[oaicite:8]{index=8}
- - bone 2-6 1 # 2–5 bones (upper bound is exclusive so 2‑6 yields 2‑5)
- - arrow 0-3 1 # 0–2 arrows
- - ender_pearl 1 0.3 # 30 % chance to drop 1 pearl
- - exp 8 1 # 8 XP
Advertisement
Add Comment
Please, Sign In to add comment