Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # AUTOR: sworip
- # WERSJA: 1.0
- # ZABRANIAM SOBIE PRAW AUTORSKICH DLA TEGO SKRYPTU!
- # ZABRANIAM ZARABIANA NA TYM SKRYPCIE!
- # ZABRANIAM ZMIENIANA NAZWY AUTORA NA SWOJA!
- on script load:
- register new shaped recipe for 1 sand named "&6SandFarmer" using 12, 331, 12, 331, 12, 331, 12, 331, 12
- stop
- on script load:
- register new shaped recipe for 1 lapis lazuli block named "&cBoyFarmer" using obsidian, redstone, obsidian, iron ingot, diamond pickaxe, ironingot, obsidian, piston, obsidian
- stop
- on script load:
- register new shaped recipe for 1 hopper named "&4AutoFosa" using sand, redstone, sand, redstone, diamond pickaxe, redstone, sand, piston, sand
- stop
- on script load:
- register new shaped recipe for 1 sponge named "&eStoniarka" using redstone, iron ingot, redstone, iron ingot, stone, iron ingot, redstone, piston, redstone
- stop
- on script load:
- register new shaped recipe for 1 ender chest named "&5EnderChest" using obsidian, obsidian, obsidian, obsidian, ender pearl, obsidian, obsidian, obsidian, obsidian,
- stop
- on script load:
- register new shaped recipe for 1 note block named "&5Obsydianiarka" using redstone, iron ingot, redstone, iron ingot, obsidian, iron ingot, redstone, piston, redstone
- stop
- on script load:
- register new shaped recipe for 1 end portal named "&aMeloniarka" using melon, redstone, melon, redstone, melon block, redstone, melon, piston, melon
- stop
- on place of sand:
- if player's tool is sand named "&6SandFarmer":
- loop blocks under event-block:
- if loop-block is bedrock:
- stop
- set loop-block to sand
- on place of lapis lazuli block:
- if player's tool is lapis lazuli block named "&cBoyFarmer":
- loop blocks under event-block:
- if loop-block is bedrock:
- stop
- set loop-block to obsidian
- on place of hopper:
- if player's tool is hopper named "&4AutoFosa":
- loop blocks under event-block:
- if loop-block is bedrock:
- stop
- set loop-block to air
- on place of sponge:
- if player's tool is sponge named "&eStoniarka":
- wait 1 tick
- if event-block is sponge:
- add location of event-block to {stone::*}
- add location of block above event-block to {stone2::*}
- set block above event-block to stone
- on break of sponge:
- if player's tool is sponge named "&eStoniarka":
- cancel event
- set block to air
- loop {stone::*}:
- if location of event-block is loop-value:
- remove location of event-block from {stone::*}
- loop {stone::*}:
- remove location of block above event-block from {stone2::*}
- drop 1 sponge named "&eStoniarka"
- on break of stone:
- loop {stone2::*}:
- if location of event-block is loop-value:
- wait 1 second
- if block below event-block is not sponge:
- stop
- wait 1 second
- if block below event-block is not sponge:
- stop
- set event-block to stone
- on place of note block:
- if player's tool is note block named "&5Obsydianiarka":
- wait 1 tick
- if event-block is note block:
- add location of event-block to {obsidian::*}
- add location of block above event-block to {obsidian2::*}
- set block above event-block to obsidian
- on break of note block:
- if player's tool is note block named "&5Obsydianiarka":
- cancel event
- set block to air
- loop {obsidian::*}:
- if location of event-block is loop-value:
- remove location of event-block from {obsidian::*}
- loop {obsidian::*}:
- remove location of block above event-block from {obsidian2::*}
- drop 1 note block named "&5Obsydianiarka"
- on break of obsidian:
- loop {obsidian2::*}:
- if location of event-block is loop-value:
- wait 5 second
- if block below event-block is not note block:
- stop
- wait 2 second
- if block below event-block is not note block:
- stop
- set event-block to obsidian
- on place end portal:
- if player's tool is end portal named "&aMeloniarka":
- wait 1 tick
- if event-block is end portal:
- add location of event-block to {melon block::*}
- add location of block above event-block to {melon block2::*}
- set block above event-block to melon block
- on break of end portal:
- if player's tool is end portal named "&aMeloniarka":
- cancel event
- set block to air
- loop {melon block::*}:
- if location of event-block is loop-value:
- remove location of event-block from {melon block::*}
- loop {melon::*}:
- remove location of block above event-block from {melon block2::*}
- drop 1 end portal named "&aMeloniarka"
- on break of melon block:
- loop {melon block2::*}:
- if location of event-block is loop-value:
- wait 15 second
- if block below event-block is not block of emerald:
- stop
- wait 1 second
- if block below event-block is not block of emerald:
- stop
- set event-block to melon block
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement