Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #Directions etc.
- function fillDir(p: player, block: String, world: String, d: direction, x: String, y: String, z: String, loc2: location, xa: String, ya: String, za: String):
- set {_loc1} to location of ({_x} parsed as a number), ({_y} parsed as a number), ({_z} parsed as a number) of world "%{_world}%"
- clear {scematic::block::%{_p}%::types::*}
- loop blocks between block at {_loc1} and block at {_loc2}:
- #function fillDir(x: String, y: String, z: String, loc2: location, world: String, block: String, p: player):
- #set {_loc1} to location ({_x} parsed as a number), ({_y} parsed as a number), ({_z} parsed as a number) of world "%{_world}%"
- #if {_block} is "scematic_dirt_machine":
- # clear {scematic::block::%{_p}%::types::*}
- # loop blocks between block at {_loc1} and block at {_loc2}:
- # add "%location of loop-block%$%loop-block%" to {scematic::block::%{_p}%::types::*}
- # if loop-block is air:
- # set block at location of loop-block to green glass block
- # else:
- # set block at location of loop-block to red glass block
- function addDir(dir: direction, add: number) :: number:
Add Comment
Please, Sign In to add comment