Advertisement
Steelsouls

OD - Mobcatcher (chicken)

Mar 7th, 2013
56
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
YAML 2.17 KB | None | 0 0
  1. ############################
  2. # USE ONE ONLY PER SECTION #
  3. ############################
  4. # Any can be modified with parameters and/or used on different creatures to make the listing
  5. # unique. Left as-is, using both entries from a section will cause conflicts.
  6. #------------------------------------
  7. # These first two examples use blank spawn eggs so players must purchase catchers from a
  8. # server store.
  9. #------------------------------------
  10.  
  11. # Replaces the block the chicken is standing in with air
  12. # possible problem: if chicken is standing in same block-space with a "partial block"
  13. #   eg. fence, pressure plate, torch, etc.
  14.  
  15.     CREATURE_ANIMAL:
  16.       - tool: SPAWN_EGG@0
  17.         action: RIGHT_CLICK
  18.         replacementblock: 0
  19.         replacetool: SPAWN_EGG@THIS
  20.         message: ["&bAll right! &bYou caught &c%v&b!"]
  21.  
  22. # Does 100 damage to the chicken, killing it instantly
  23. # obvious problem: get double loot as chicken drops default items
  24. # fix is on to-do list: register damage from OtherDrops to specify tool: UNKNOWN or OTHERDROPS
  25.  
  26.     CREATURE_ANIMAL:
  27.       - tool: SPAWN_EGG@0
  28.         action: RIGHT_CLICK
  29.         damage.victim: 100
  30.         replacetool: SPAWN_EGG@THIS
  31.         message: ["&bAll right! &bYou caught &c%v&b!"]
  32.  
  33.  
  34. #------------------------------------
  35. # This is better for a near-vanilla server as it uses regular eggs to catch mobs.
  36. #------------------------------------
  37.  
  38. # Replaces the block the chicken is standing in with air
  39. # possible problem: if chicken is standing in same block-space with a "partial block"
  40. #   eg. fence, pressure plate, torch, etc.
  41.  
  42.     CREATURE_ANIMAL:
  43.       - tool: PROJECTILE_EGG
  44.         action: HIT
  45.         replacementblock: 0
  46.         drop: SPAWN_EGG@THIS
  47.         message: ["&bAll right! &bYou caught &c%v&b!"]
  48.  
  49. # Does 100 damage to the chicken, killing it instantly
  50. # obvious problem: get double loot as chicken drops default items
  51. # fix is on to-do list: register damage from OtherDrops to specify tool: UNKNOWN or OTHERDROPS
  52.  
  53.     CREATURE_ANIMAL:
  54.       - tool: PROJECTILE_EGG
  55.         action: HIT
  56.         damage.victim: 100
  57.         drop: SPAWN_EGG@THIS
  58.         message: ["&bAll right! &bYou caught &c%v&b!"]
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement