GamesofFreak

Endeleton.yml

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