Files
spinjitsu_monastery
Code
44 730
spinjitsu_monastery/data/spinjitsu_monastery/function/build_at_origin.mcfunction
# Clear the construction area
fill ~-18 ~-1 ~-16 ~18 ~18 ~16 minecraft:air
# Foundation and courtyard
fill ~-14 ~0 ~-12 ~14 ~0 ~12 minecraft:stone_bricks
fill ~-13 ~1 ~-11 ~13 ~1 ~11 minecraft:polished_andesite
fill ~-5 ~1 ~-7 ~5 ~1 ~3 minecraft:stone_bricks
# Left monastery wing
fill ~-14 ~1 ~-12 ~-6 ~5 ~12 minecraft:stone_bricks
fill ~-13 ~2 ~-7 ~-7 ~4 ~11 minecraft:air
fill ~-13 ~1 ~-7 ~-7 ~1 ~11 minecraft:spruce_planks
fill ~-6 ~2 ~-2 ~-6 ~3 ~0 minecraft:air
fill ~-6 ~2 ~2 ~-6 ~3 ~3 minecraft:air
# Right monastery wing
fill ~6 ~1 ~-12 ~14 ~5 ~12 minecraft:stone_bricks
fill ~7 ~2 ~-7 ~13 ~4 ~11 minecraft:air
fill ~7 ~1 ~-7 ~13 ~1 ~11 minecraft:spruce_planks
fill ~6 ~2 ~-2 ~6 ~3 ~0 minecraft:air
fill ~6 ~2 ~2 ~6 ~3 ~3 minecraft:air
# Rear hall
fill ~-5 ~1 ~4 ~5 ~5 ~12 minecraft:stone_bricks
fill ~-4 ~2 ~5 ~4 ~4 ~11 minecraft:air
fill ~-4 ~1 ~5 ~4 ~1 ~11 minecraft:spruce_planks
fill ~-2 ~2 ~4 ~2 ~3 ~4 minecraft:air
# Front gatehouse
fill ~-5 ~1 ~-12 ~5 ~5 ~-8 minecraft:stone_bricks
fill ~-4 ~2 ~-11 ~4 ~4 ~-9 minecraft:air
fill ~-1 ~2 ~-12 ~1 ~4 ~-8 minecraft:air
fill ~-4 ~1 ~-11 ~4 ~1 ~-9 minecraft:spruce_planks
# Gatehouse pillars
fill ~-5 ~1 ~-12 ~-3 ~5 ~-8 minecraft:chiseled_stone_bricks
fill ~3 ~1 ~-12 ~5 ~5 ~-8 minecraft:chiseled_stone_bricks
# Wing support pillars
fill ~-12 ~2 ~-7 ~-11 ~4 ~-7 minecraft:spruce_log[axis=y]
fill ~-8 ~2 ~-7 ~-7 ~4 ~-7 minecraft:spruce_log[axis=y]
fill ~11 ~2 ~-7 ~12 ~4 ~-7 minecraft:spruce_log[axis=y]
fill ~7 ~2 ~-7 ~8 ~4 ~-7 minecraft:spruce_log[axis=y]
fill ~-12 ~2 ~11 ~-11 ~4 ~11 minecraft:spruce_log[axis=y]
fill ~-8 ~2 ~11 ~-7 ~4 ~11 minecraft:spruce_log[axis=y]
fill ~11 ~2 ~11 ~12 ~4 ~11 minecraft:spruce_log[axis=y]
fill ~7 ~2 ~11 ~8 ~4 ~11 minecraft:spruce_log[axis=y]
# Wing roofs
fill ~-15 ~6 ~-13 ~-5 ~6 ~13 minecraft:dark_oak_slab[type=top]
fill ~5 ~6 ~-13 ~15 ~6 ~13 minecraft:dark_oak_slab[type=top]
fill ~-6 ~6 ~3 ~6 ~6 ~13 minecraft:dark_oak_slab[type=top]
fill ~-6 ~6 ~-13 ~6 ~6 ~-7 minecraft:dark_oak_slab[type=top]
# Roof ridges
fill ~-15 ~7 ~0 ~-5 ~7 ~0 minecraft:dark_oak_planks
fill ~5 ~7 ~0 ~15 ~7 ~0 minecraft:dark_oak_planks
fill ~-6 ~7 ~8 ~6 ~7 ~8 minecraft:dark_oak_planks
fill ~-6 ~7 ~-10 ~6 ~7 ~-10 minecraft:dark_oak_planks
# Curved-looking roof edges
fill ~-15 ~6 ~-13 ~-5 ~6 ~-13 minecraft:dark_oak_stairs[facing=south]
fill ~-15 ~6 ~13 ~-5 ~6 ~13 minecraft:dark_oak_stairs[facing=north]
fill ~5 ~6 ~-13 ~15 ~6 ~-13 minecraft:dark_oak_stairs[facing=south]
fill ~5 ~6 ~13 ~15 ~6 ~13 minecraft:dark_oak_stairs[facing=north]
fill ~-6 ~6 ~13 ~6 ~6 ~13 minecraft:dark_oak_stairs[facing=north]
fill ~-6 ~6 ~3 ~6 ~6 ~3 minecraft:dark_oak_stairs[facing=south]
# Corner watchtowers
fill ~-16 ~1 ~-14 ~-12 ~8 ~-10 minecraft:stone_bricks
fill ~-15 ~2 ~-13 ~-13 ~7 ~-11 minecraft:air
fill ~12 ~1 ~-14 ~16 ~8 ~-10 minecraft:stone_bricks
fill ~13 ~2 ~-13 ~15 ~7 ~-11 minecraft:air
fill ~-16 ~1 ~10 ~-12 ~8 ~14 minecraft:stone_bricks
fill ~-15 ~2 ~11 ~-13 ~7 ~13 minecraft:air
fill ~12 ~1 ~10 ~16 ~8 ~14 minecraft:stone_bricks
fill ~13 ~2 ~11 ~15 ~7 ~13 minecraft:air
# Watchtower roofs
fill ~-17 ~9 ~-15 ~-11 ~9 ~-9 minecraft:dark_oak_slab[type=top]
fill ~11 ~9 ~-15 ~17 ~9 ~-9 minecraft:dark_oak_slab[type=top]
fill ~-17 ~9 ~9 ~-11 ~9 ~15 minecraft:dark_oak_slab[type=top]
fill ~11 ~9 ~9 ~17 ~9 ~15 minecraft:dark_oak_slab[type=top]
# Central rear dojo tower
fill ~-3 ~6 ~5 ~3 ~13 ~11 minecraft:stone_bricks
fill ~-2 ~7 ~6 ~2 ~12 ~10 minecraft:air
fill ~-2 ~7 ~6 ~2 ~7 ~10 minecraft:spruce_planks
# Tower windows
fill ~-3 ~9 ~7 ~-3 ~10 ~9 minecraft:glass_pane
fill ~3 ~9 ~7 ~3 ~10 ~9 minecraft:glass_pane
fill ~-1 ~9 ~5 ~1 ~10 ~5 minecraft:glass_pane
fill ~-1 ~9 ~11 ~1 ~10 ~11 minecraft:glass_pane
# Tower roof
fill ~-4 ~14 ~4 ~4 ~14 ~12 minecraft:dark_oak_slab[type=top]
fill ~-3 ~15 ~5 ~3 ~15 ~11 minecraft:dark_oak_slab[type=top]
fill ~-2 ~16 ~6 ~2 ~16 ~10 minecraft:dark_oak_slab[type=top]
fill ~-1 ~17 ~7 ~1 ~17 ~9 minecraft:dark_oak_slab[type=top]
setblock ~0 ~18 ~8 minecraft:lightning_rod[facing=up]
# Main doors
setblock ~-1 ~2 ~-12 minecraft:spruce_door[facing=south,half=lower,hinge=left,open=false]
setblock ~-1 ~3 ~-12 minecraft:spruce_door[facing=south,half=upper,hinge=left,open=false]
setblock ~0 ~2 ~-12 minecraft:spruce_door[facing=south,half=lower,hinge=right,open=false]
setblock ~0 ~3 ~-12 minecraft:spruce_door[facing=south,half=upper,hinge=right,open=false]
# Windows
setblock ~-14 ~3 ~-5 minecraft:glass_pane
setblock ~-14 ~3 ~0 minecraft:glass_pane
setblock ~-14 ~3 ~5 minecraft:glass_pane
setblock ~14 ~3 ~-5 minecraft:glass_pane
setblock ~14 ~3 ~0 minecraft:glass_pane
setblock ~14 ~3 ~5 minecraft:glass_pane
setblock ~-4 ~3 ~12 minecraft:glass_pane
setblock ~0 ~3 ~12 minecraft:glass_pane
setblock ~4 ~3 ~12 minecraft:glass_pane
# Courtyard training area
fill ~-3 ~2 ~-5 ~3 ~2 ~-5 minecraft:dark_oak_planks
fill ~-3 ~2 ~1 ~3 ~2 ~1 minecraft:dark_oak_planks
fill ~-3 ~2 ~-5 ~-3 ~2 ~1 minecraft:dark_oak_planks
fill ~3 ~2 ~-5 ~3 ~2 ~1 minecraft:dark_oak_planks
setblock ~0 ~2 ~-2 minecraft:polished_andesite
setblock ~0 ~3 ~-2 minecraft:lantern[hanging=true]
# Lanterns and decorative beams
setblock ~-5 ~4 ~-6 minecraft:lantern
setblock ~5 ~4 ~-6 minecraft:lantern
setblock ~-5 ~4 ~2 minecraft:lantern
setblock ~5 ~4 ~2 minecraft:lantern
setblock ~-10 ~4 ~-7 minecraft:lantern
setblock ~10 ~4 ~-7 minecraft:lantern
setblock ~-10 ~4 ~11 minecraft:lantern
setblock ~10 ~4 ~11 minecraft:lantern
setblock ~0 ~12 ~5 minecraft:lantern
setblock ~0 ~12 ~11 minecraft:lantern
# Courtyard pillars
fill ~-4 ~2 ~-6 ~-4 ~4 ~-6 minecraft:spruce_log[axis=y]
fill ~4 ~2 ~-6 ~4 ~4 ~-6 minecraft:spruce_log[axis=y]
fill ~-4 ~2 ~2 ~-4 ~4 ~2 minecraft:spruce_log[axis=y]
fill ~4 ~2 ~2 ~4 ~4 ~2 minecraft:spruce_log[axis=y]
# Exterior stairs
fill ~-2 ~1 ~-13 ~2 ~1 ~-13 minecraft:stone_brick_stairs[facing=south]
fill ~-1 ~2 ~-14 ~1 ~2 ~-14 minecraft:stone_brick_stairs[facing=south]
# Banners
setblock ~-4 ~4 ~-12 minecraft:red_banner
setblock ~4 ~4 ~-12 minecraft:blue_banner
setblock ~-14 ~5 ~0 minecraft:yellow_banner
setblock ~14 ~5 ~0 minecraft:green_banner
# Themed monastery chests
setblock ~-10 ~2 ~-5 minecraft:chest[facing=south]
item replace block ~-10 ~2 ~-5 container.0 with minecraft:wooden_sword[minecraft:custom_name='{"text":"Training Spinjitzu Blade","color":"gold","italic":false}',minecraft:custom_data={spinjitzu:"blade"}] 1
item replace block ~-10 ~2 ~-5 container.1 with minecraft:amethyst_shard[minecraft:custom_name='{"text":"Elemental Crystal","color":"light_purple","italic":false}',minecraft:custom_data={spinjitzu:"crystal"}] 4
item replace block ~-10 ~2 ~-5 container.2 with minecraft:paper[minecraft:custom_name='{"text":"Monastery Scroll","color":"yellow","italic":false}',minecraft:custom_data={spinjitzu:"scroll"}] 1
item replace block ~-10 ~2 ~-5 container.3 with minecraft:golden_sword[minecraft:custom_name='{"text":"Sword of Fire","color":"red","bold":true,"italic":false}',minecraft:custom_data={spinjitzu:"sword_of_fire"},minecraft:enchantment_glint_override=true] 1
setblock ~10 ~2 ~-5 minecraft:chest[facing=south]
item replace block ~10 ~2 ~-5 container.0 with minecraft:gold_ingot[minecraft:custom_name='{"text":"Golden Dragon Coin","color":"gold","italic":false}',minecraft:custom_data={spinjitzu:"coin"}] 3
item replace block ~10 ~2 ~-5 container.1 with minecraft:fire_charge[minecraft:custom_name='{"text":"Fire Spinjitzu Core","color":"red","italic":false}',minecraft:custom_data={spinjitzu:"fire_core"}] 2
item replace block ~10 ~2 ~-5 container.2 with minecraft:blaze_powder[minecraft:custom_name='{"text":"Flame Essence","color":"dark_red","italic":false}',minecraft:custom_data={spinjitzu:"flame"}] 2
item replace block ~10 ~2 ~-5 container.3 with minecraft:blaze_rod[minecraft:custom_name='{"text":"Nunchucks of Lightning","color":"aqua","bold":true,"italic":false}',minecraft:custom_data={spinjitzu:"nunchucks_of_lightning"},minecraft:enchantment_glint_override=true] 1
setblock ~0 ~2 ~8 minecraft:chest[facing=north]
item replace block ~0 ~2 ~8 container.0 with minecraft:prismarine_shard[minecraft:custom_name='{"text":"Lightning Shard","color":"aqua","italic":false}',minecraft:custom_data={spinjitzu:"lightning"}] 3
item replace block ~0 ~2 ~8 container.1 with minecraft:blue_dye[minecraft:custom_name='{"text":"Ice Spinjitzu Core","color":"blue","italic":false}',minecraft:custom_data={spinjitzu:"ice_core"}] 2
item replace block ~0 ~2 ~8 container.2 with minecraft:ender_pearl[minecraft:custom_name='{"text":"Spinjitzu Focus","color":"dark_purple","italic":false}',minecraft:custom_data={spinjitzu:"focus"}] 1
item replace block ~0 ~2 ~8 container.3 with minecraft:gold_nugget[minecraft:custom_name='{"text":"Shurikens of Ice","color":"blue","bold":true,"italic":false}',minecraft:custom_data={spinjitzu:"shurikens_of_ice"},minecraft:enchantment_glint_override=true] 8
setblock ~2 ~2 ~-10 minecraft:chest[facing=south]
item replace block ~2 ~2 ~-10 container.0 with minecraft:emerald[minecraft:custom_name='{"text":"Master Wu Token","color":"green","italic":false}',minecraft:custom_data={spinjitzu:"wu_token"}] 2
item replace block ~2 ~2 ~-10 container.1 with minecraft:slime_ball[minecraft:custom_name='{"text":"Earth Spinjitzu Core","color":"dark_green","italic":false}',minecraft:custom_data={spinjitzu:"earth_core"}] 2
item replace block ~2 ~2 ~-10 container.2 with minecraft:cookie[minecraft:custom_name='{"text":"Monastery Ration","color":"gold","italic":false}',minecraft:custom_data={spinjitzu:"ration"}] 8
item replace block ~2 ~2 ~-10 container.3 with minecraft:golden_hoe[minecraft:custom_name='{"text":"Scythe of Quakes","color":"dark_green","bold":true,"italic":false}',minecraft:custom_data={spinjitzu:"scythe_of_quakes"},minecraft:enchantment_glint_override=true] 1
# Elemental weapon temples
function spinjitsu_monastery:temple/fire
function spinjitsu_monastery:temple/lightning
function spinjitsu_monastery:temple/ice
function spinjitsu_monastery:temple/earth
# Destiny's Bounty
function spinjitsu_monastery:ship/destinys_bounty