Advertisement
Guest User

Untitled

a guest
Feb 24th, 2017
79
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
HTML 4.71 KB | None | 0 0
  1. # AUTOR: sworip
  2. # WERSJA: 1.0
  3. # ZABRANIAM SOBIE PRAW AUTORSKICH DLA TEGO SKRYPTU!
  4. # ZABRANIAM ZARABIANA NA TYM SKRYPCIE!
  5. # ZABRANIAM ZMIENIANA NAZWY AUTORA NA SWOJA!
  6.  
  7. on script load:
  8.     register new shaped recipe for 1 sand named "&6SandFarmer" using 12, 331, 12, 331, 12, 331, 12, 331, 12
  9.     stop
  10.    
  11. on script load:
  12.     register new shaped recipe for 1 lapis lazuli block named "&cBoyFarmer" using obsidian, redstone, obsidian, iron ingot, diamond pickaxe, ironingot, obsidian, piston, obsidian
  13.     stop
  14.    
  15. on script load:
  16.     register new shaped recipe for 1 hopper named "&4AutoFosa"  using sand, redstone, sand, redstone, diamond pickaxe, redstone, sand, piston, sand
  17.     stop
  18.    
  19. on script load:
  20.     register new shaped recipe for 1 sponge named "&eStoniarka" using redstone, iron ingot, redstone, iron ingot, stone, iron ingot, redstone, piston, redstone
  21.     stop
  22.    
  23. on script load:
  24.     register new shaped recipe for 1 ender chest named "&5EnderChest" using obsidian, obsidian, obsidian, obsidian, ender pearl, obsidian, obsidian, obsidian, obsidian,
  25.     stop
  26.    
  27. on script load:
  28.     register new shaped recipe for 1 note block named "&5Obsydianiarka" using redstone, iron ingot, redstone, iron ingot, obsidian, iron ingot, redstone, piston, redstone
  29.     stop
  30.    
  31. on script load:
  32.     register new shaped recipe for 1 end portal named "&aMeloniarka" using melon, redstone, melon, redstone, melon block, redstone, melon, piston, melon
  33.     stop
  34.    
  35. on place of sand:
  36.     if player's tool is sand named "&6SandFarmer":
  37.         loop blocks under event-block:
  38.             if loop-block is bedrock:
  39.                 stop
  40.             set loop-block to sand
  41.  
  42. on place of lapis lazuli block:
  43.     if player's tool is lapis lazuli block named "&cBoyFarmer":
  44.         loop blocks under event-block:
  45.             if loop-block is bedrock:
  46.                 stop
  47.             set loop-block to obsidian
  48.  
  49. on place of hopper:
  50.     if player's tool is hopper named "&4AutoFosa":
  51.         loop blocks under event-block:
  52.             if loop-block is bedrock:
  53.                 stop
  54.             set loop-block to air
  55.  
  56. on place of sponge:
  57.     if player's tool is sponge named "&eStoniarka":
  58.         wait 1 tick
  59.         if event-block is sponge:
  60.             add location of event-block to {stone::*}
  61.             add location of block above event-block to {stone2::*}
  62.             set block above event-block to stone
  63. on break of sponge:
  64.     if player's tool is sponge named "&eStoniarka":
  65.         cancel event
  66.         set block to air    
  67.         loop {stone::*}:
  68.             if location of event-block is loop-value:
  69.                 remove location of event-block from {stone::*}
  70.                 loop {stone::*}:
  71.                     remove location of block above event-block from {stone2::*}
  72.                     drop 1 sponge named "&eStoniarka"
  73. on break of stone:
  74.         loop {stone2::*}:
  75.             if location of event-block is loop-value:
  76.                 wait 1 second
  77.                 if block below event-block is not sponge:
  78.                     stop
  79.                 wait 1 second
  80.                 if block below event-block is not sponge:
  81.                     stop
  82.                 set event-block to stone
  83.  
  84. on place of note block:
  85.     if player's tool is note block named "&5Obsydianiarka":
  86.         wait 1 tick
  87.         if event-block is note block:
  88.             add location of event-block to {obsidian::*}
  89.             add location of block above event-block to {obsidian2::*}
  90.             set block above event-block to obsidian
  91. on break of note block:
  92.     if player's tool is note block named "&5Obsydianiarka":
  93.         cancel event
  94.         set block to air    
  95.         loop {obsidian::*}:
  96.             if location of event-block is loop-value:
  97.                 remove location of event-block from {obsidian::*}
  98.                 loop {obsidian::*}:
  99.                     remove location of block above event-block from {obsidian2::*}
  100.                     drop 1 note block named "&5Obsydianiarka"
  101. on break of obsidian:
  102.         loop {obsidian2::*}:
  103.             if location of event-block is loop-value:
  104.                 wait 5 second
  105.                 if block below event-block is not note block:
  106.                     stop
  107.                 wait 2 second
  108.                 if block below event-block is not note block:
  109.                     stop
  110.                 set event-block to obsidian
  111.  
  112. on place end portal:
  113.     if player's tool is end portal named "&aMeloniarka":
  114.         wait 1 tick
  115.         if event-block is end portal:
  116.             add location of event-block to {melon block::*}
  117.             add location of block above event-block to {melon block2::*}
  118.             set block above event-block to melon block
  119. on break of end portal:
  120.     if player's tool is end portal named "&aMeloniarka":
  121.         cancel event
  122.         set block to air    
  123.         loop {melon block::*}:
  124.             if location of event-block is loop-value:
  125.                 remove location of event-block from {melon block::*}
  126.                 loop {melon::*}:
  127.                     remove location of block above event-block from {melon block2::*}
  128.                     drop 1 end portal named "&aMeloniarka"
  129. on break of melon block:
  130.         loop {melon block2::*}:
  131.             if location of event-block is loop-value:
  132.                 wait 15 second
  133.                 if block below event-block is not block of emerald:
  134.                     stop
  135.                 wait 1 second
  136.                 if block below event-block is not block of emerald:
  137.                     stop
  138.                 set event-block to melon block
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement