0
This commit is contained in:
commit
c47dde41d1
37 changed files with 479 additions and 0 deletions
21
LICENSE
Normal file
21
LICENSE
Normal file
|
@ -0,0 +1,21 @@
|
|||
MIT License
|
||||
|
||||
Copyright (c) 2021 Gabriel Jensen
|
||||
|
||||
Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||
of this software and associated documentation files (the "Software"), to deal
|
||||
in the Software without restriction, including without limitation the rights
|
||||
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
||||
copies of the Software, and to permit persons to whom the Software is
|
||||
furnished to do so, subject to the following conditions:
|
||||
|
||||
The above copyright notice and this permission notice shall be included in all
|
||||
copies or substantial portions of the Software.
|
||||
|
||||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
||||
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
||||
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
||||
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
||||
SOFTWARE.
|
49
data/fmc/functions/hunger/load.mcfunction
Normal file
49
data/fmc/functions/hunger/load.mcfunction
Normal file
|
@ -0,0 +1,49 @@
|
|||
# Middle:
|
||||
forceload add -4727 -319 -4665 -257
|
||||
|
||||
# Experience Shrine:
|
||||
forceload add -4728 -196
|
||||
|
||||
# Chests:
|
||||
forceload add -4458 -143
|
||||
forceload add -4571 -219
|
||||
forceload add -4757 -315
|
||||
forceload add -4586 -622
|
||||
forceload add -4442 -483
|
||||
forceload add -4799 -263
|
||||
forceload add -4799 -261
|
||||
forceload add -4973 -40
|
||||
forceload add -4968 -47
|
||||
forceload add -4956 -47
|
||||
forceload add -4438 -483
|
||||
forceload add -4242 -263
|
||||
forceload add -4554 -388
|
||||
forceload add -5057 -109
|
||||
forceload add -4241 -271
|
||||
forceload add -4672 -379
|
||||
forceload add -4586 -622
|
||||
forceload add -4663 -345
|
||||
forceload add -4664 -351
|
||||
forceload add -5114 -109
|
||||
forceload add -4600 -285
|
||||
forceload add -4887 -295
|
||||
forceload add -4530 101
|
||||
forceload add -4542 -324
|
||||
forceload add -4554 -323
|
||||
forceload add -4557 -324
|
||||
forceload add -4592 -265
|
||||
forceload add -4805 -268
|
||||
forceload add -4522 42
|
||||
forceload add -4805 -281
|
||||
|
||||
# Furnaces:
|
||||
forceload add -4442 -483
|
||||
forceload add -4973 -45
|
||||
forceload add -4542 -322
|
||||
forceload add -4761 -310
|
||||
forceload add -4804 -281
|
||||
|
||||
# Anvils:
|
||||
forceload add -4971 -51
|
||||
forceload add -4661 -345
|
||||
forceload add -4761 -311
|
34
data/fmc/functions/hunger/main.mcfunction
Normal file
34
data/fmc/functions/hunger/main.mcfunction
Normal file
|
@ -0,0 +1,34 @@
|
|||
function fmc:hunger/load
|
||||
gamerule keepInventory false
|
||||
gamemode adventure @a
|
||||
kill @e[type=minecraft:item]
|
||||
kill @e[type=minecraft:experience_orb]
|
||||
clear @a
|
||||
xp set @a 4 levels
|
||||
effect clear @a
|
||||
time set 0
|
||||
spawnpoint @a -4696 72 -311
|
||||
function fmc:hunger/scoreboard_init
|
||||
schedule function fmc:hunger/on_tick 1t
|
||||
schedule function fmc:hunger/xp 1t
|
||||
teleport @a[dx=0,dy=0,dz=0,x=-320,y=12,z=-1822] -4696 79 -316
|
||||
teleport @a[dx=0,dy=0,dz=0,x=-318,y=12,z=-1820] -4685 79 -314
|
||||
teleport @a[dx=0,dy=0,dz=0,x=-316,y=12,z=-1820] -4676 79 -308
|
||||
teleport @a[dx=0,dy=0,dz=0,x=-314,y=12,z=-1820] -4670 79 -299
|
||||
teleport @a[dx=0,dy=0,dz=0,x=-312,y=12,z=-1820] -4668 79 -288
|
||||
teleport @a[dx=0,dy=0,dz=0,x=-310,y=12,z=-1820] -4670 79 -277
|
||||
teleport @a[dx=0,dy=0,dz=0,x=-308,y=12,z=-1820] -4676 79 -268
|
||||
teleport @a[dx=0,dy=0,dz=0,x=-306,y=12,z=-1820] -4685 79 -262
|
||||
teleport @a[dx=0,dy=0,dz=0,x=-320,y=12,z=-1818] -4696 79 -260
|
||||
teleport @a[dx=0,dy=0,dz=0,x=-322,y=12,z=-1820] -4707 79 -262
|
||||
teleport @a[dx=0,dy=0,dz=0,x=-324,y=12,z=-1820] -4716 79 -268
|
||||
teleport @a[dx=0,dy=0,dz=0,x=-326,y=12,z=-1820] -4722 79 -277
|
||||
teleport @a[dx=0,dy=0,dz=0,x=-328,y=12,z=-1820] -4724 79 -288
|
||||
teleport @a[dx=0,dy=0,dz=0,x=-330,y=12,z=-1820] -4722 79 -299
|
||||
teleport @a[dx=0,dy=0,dz=0,x=-332,y=12,z=-1820] -4716 79 -308
|
||||
teleport @a[dx=0,dy=0,dz=0,x=-334,y=12,z=-1820] -4707 79 -314
|
||||
kill @e[dx=32,dy=9,dz=33,x=-336,y=4,z=-1824]
|
||||
difficulty peaceful
|
||||
tellraw @a ["",{"text":"HUSK, at bruge kommandoen "},{"bold":true,"clickEvent":{"action":"run_command","value":"/dynmap hide"},"color":"aqua","text":"/dynmap hide"},{"text":" (klik) så, at de andre ikke kan se dig på kortet."}]
|
||||
title @a times 0 10 0
|
||||
function fmc:hunger/timer0
|
6
data/fmc/functions/hunger/on_tick.mcfunction
Normal file
6
data/fmc/functions/hunger/on_tick.mcfunction
Normal file
|
@ -0,0 +1,6 @@
|
|||
scoreboard players set @a[dx=58,dy=0,dz=58,gamemode=!spectator,scores={countdown=1},x=-4726,y=78,z=-318] dead 1
|
||||
gamemode spectator @a[dx=58,dy=0,dz=58,gamemode=!spectator,scores={countdown=1},x=-4726,y=78,z=-318]
|
||||
execute at @a[scores={kill=1}] run playsound minecraft:block.end_portal.spawn master @a ~ ~ ~ 64 0
|
||||
scoreboard players set @a[scores={dead=1}] dead 0
|
||||
scoreboard players set @a[scores={kill=1}] kill 0
|
||||
schedule function fmc:hunger/on_tick 1t
|
130
data/fmc/functions/hunger/refill.mcfunction
Normal file
130
data/fmc/functions/hunger/refill.mcfunction
Normal file
|
@ -0,0 +1,130 @@
|
|||
setblock -4458 49 -143 minecraft:barrel[facing=up]
|
||||
item replace block -4458 49 -143 container.13 with minecraft:enchanted_book{StoredEnchantments:[{id:"minecraft:loyalty",lvl:2}]}
|
||||
|
||||
setblock -4571 34 -219 minecraft:chest[facing=west]
|
||||
item replace block -4571 34 -219 container.4 with minecraft:tipped_arrow{Potion:"minecraft:strong_harming"}
|
||||
item replace block -4571 34 -219 container.12 with minecraft:tipped_arrow{Potion:"minecraft:strong_harming"}
|
||||
item replace block -4571 34 -219 container.13 with minecraft:bow{Damage:368,Enchantments:[{id:"minecraft:flame",lvl:1}],display:{Name:"\"Twisting Nether\""}}
|
||||
item replace block -4571 34 -219 container.14 with minecraft:tipped_arrow{Potion:"minecraft:strong_harming"}
|
||||
item replace block -4571 34 -219 container.22 with minecraft:tipped_arrow{Potion:"minecraft:strong_harming"}
|
||||
|
||||
setblock -4757 57 -315 minecraft:chest[facing=south]
|
||||
item replace block -4757 57 -315 container.13 with minecraft:shield{BlockEntityTag:{Base:15,Patterns:[{Color:0,Pattern:"cs"},{Color:14,Pattern:"hhb"},{Color:0,Pattern:"bo"},{Color:0,Pattern:"ts"},{Color:0,Pattern:"bs"},{Color:4,Pattern:"ms"}]},Damage:272,Enchantments:[{}],display:{Name:"\"MikkelMiner's Shield\""}}
|
||||
item replace block -4757 57 -315 container.22 with minecraft:paper{display:{Name:"\"Ninjaing will result in a 50 dkp minus\""}}
|
||||
|
||||
setblock -4586 19 -622 minecraft:barrel[facing=up]
|
||||
item replace block -4586 19 -622 container.13 with minecraft:turtle_helmet
|
||||
|
||||
setblock -4442 250 -483 minecraft:barrel[facing=west]
|
||||
item replace block -4442 250 -483 container.12 with minecraft:iron_sword{Damage:234,Enchantments:[{id:"minecraft:sweeping",lvl:2}],display:{Name:"\"Gressil, Dawn of Ruin\""}}
|
||||
item replace block -4442 250 -483 container.14 with minecraft:elytra{Damage:368}
|
||||
|
||||
setblock -4799 77 -263 minecraft:chest[facing=west]
|
||||
item replace block -4799 77 -263 container.0 with minecraft:bow{Damage:368,Enchantments:[{id:"minecraft:infinity",lvl:1}],display:{Name:"\"Singularity\""}}
|
||||
item replace block -4799 77 -263 container.1 with minecraft:tipped_arrow{Potion:"minecraft:invisibility"} 16
|
||||
item replace block -4799 77 -263 container.9 with minecraft:beetroot_soup{display:{Name:"\"Blood Of The End\""}}
|
||||
item replace block -4799 77 -263 container.10 with minecraft:beetroot_soup{display:{Name:"\"Blood Of The End\""}}
|
||||
item replace block -4799 77 -263 container.11 with minecraft:beetroot_soup{display:{Name:"\"Blood Of The End\""}}
|
||||
item replace block -4799 77 -263 container.18 with minecraft:dark_oak_boat{display:{Name:"\"Dark Strider\""}}
|
||||
|
||||
setblock -4799 77 -261 minecraft:chest[facing=west]
|
||||
item replace block -4799 77 -261 container.0 with minecraft:iron_sword{Damage:246,display:{Name:"\"Blessing Of The End\""}}
|
||||
item replace block -4799 77 -261 container.1 with minecraft:lingering_potion{Potion:"minecraft:invisibility"}
|
||||
item replace block -4799 77 -261 container.2 with minecraft:chorus_fruit 3
|
||||
|
||||
setblock -4973 27 -40 minecraft:barrel[facing=up]
|
||||
item replace block -4973 27 -40 container.12 with minecraft:lingering_potion{Potion:"minecraft:strong_slowness"}
|
||||
item replace block -4973 27 -40 container.13 with minecraft:lingering_potion{Potion:"minecraft:strong_slowness"}
|
||||
item replace block -4973 27 -40 container.14 with minecraft:lingering_potion{Potion:"minecraft:strong_slowness"}
|
||||
|
||||
setblock -4968 36 -47 minecraft:barrel[facing=up]
|
||||
item replace block -4968 36 -47 container.13 with minecraft:stone_sword{Damage:123,Enchantments:[{id:"minecraft:fire_aspect",lvl:1}],display:{Name:"\"Othello Kniven\""}}
|
||||
|
||||
setblock -4956 27 -47 minecraft:barrel[facing=east]
|
||||
item replace block -4956 27 -47 container.13 with minecraft:potion{CustomPotionColor:16776960,CustomPotionEffects:[{Amplifier:127,Duration:20,Id:25}],display:{Name:"\"I believe I can fly\""}}
|
||||
|
||||
setblock -4438 21 -483 minecraft:barrel[facing=west]
|
||||
item replace block -4438 21 -483 container.12 with minecraft:stick{Enchantments:[{id:"minecraft:knockback",lvl:2}],display:{Name:"\"Go Away!\""}}
|
||||
item replace block -4438 21 -483 container.13 with minecraft:milk_bucket
|
||||
item replace block -4438 21 -483 container.14 with minecraft:golden_carrot 8
|
||||
|
||||
setblock -4242 34 -263 minecraft:barrel[facing=up]
|
||||
item replace block -4242 34 -263 container.13 with minecraft:shield{BlockEntityTag:{Base:13},Damage:272,Enchantments:[{}],display:{Name:"\"Assasin Shield\""}}
|
||||
|
||||
setblock -4554 32 -388 minecraft:barrel[facing=up]
|
||||
item replace block -4554 32 -388 container.13 with minecraft:stone_sword{Damage:115,Enchantments:[{id:"knockback",lvl:1}],display:{Name:"\"The Devouring Cold\""}}
|
||||
|
||||
setblock -5057 46 -109 minecraft:trapped_chest[facing=west]
|
||||
item replace block -5057 46 -109 container.12 with minecraft:tipped_arrow{CustomPotionColor:65280,CustomPotionEffects:[{Amplifier:1,Duration:320,Id:19}]}
|
||||
item replace block -5057 46 -109 container.13 with minecraft:bow{Damage:380,Enchantments:[{id:"minecraft:flame",lvl:1},{id:"minecraft:power",lvl:1},{id:"minecraft:punch",lvl:1}],display:{Name:"\"Thori'dal, the Stars' Fury\""}}
|
||||
item replace block -5057 46 -109 container.14 with minecraft:tipped_arrow{CustomPotionColor:65280,CustomPotionEffects:[{Amplifier:127,Duration:20,Id:23}]}
|
||||
|
||||
setblock -4241 97 -271 minecraft:chest[facing=south]
|
||||
item replace block -4241 97 -271 container.12 with minecraft:crossbow{display:{Name:"\"Gabriel's Death Ray (Penetrative Edition)\""}}
|
||||
item replace block -4241 97 -271 container.14 with minecraft:enchanted_book{StoredEnchantments:[{id:"minecraft:piercing",lvl:2}]}
|
||||
|
||||
setblock -4443 16 -463 minecraft:chest[facing=north]
|
||||
item replace block -4672 40 -379 container.12 with minecraft:crossbow{display:{Name:"\"Silver-Ready\""}}
|
||||
item replace block -4672 40 -379 container.14 with minecraft:enchanted_book{StoredEnchantments:[{id:"minecraft:quick_charge",lvl:1}]}
|
||||
|
||||
setblock -4586 10 -622 minecraft:chest[facing=south]
|
||||
item replace block -4586 10 -622 container.13 with minecraft:trident{Damage:242,display:{Name:"\"Λόγχη\""}}
|
||||
|
||||
setblock -4663 34 -345 minecraft:barrel[facing=north]
|
||||
item replace block -4663 34 -345 container.0 with minecraft:stone_axe{Enchantments:[{id:"minecraft:knockback",lvl:1}]}
|
||||
item replace block -4663 34 -345 container.10 with minecraft:mushroom_stew
|
||||
|
||||
setblock -4664 32 -351 minecraft:barrel[facing=up]
|
||||
item replace block -4664 32 -351 container.0 with minecraft:potion{Potion:"minecraft:leaping"}
|
||||
item replace block -4664 32 -351 container.9 with minecraft:bow
|
||||
item replace block -4664 32 -351 container.10 with minecraft:arrow 16
|
||||
item replace block -4664 32 -351 container.18 with minecraft:ender_pearl 2
|
||||
item replace block -4664 32 -351 container.26 with minecraft:music_disc_stal
|
||||
|
||||
setblock -5114 46 -109 minecraft:chest[facing=east]
|
||||
item replace block -5114 46 -109 container.13 with minecraft:potion{Potion:"water_breathing",display:{Name:"\"Sussy Water\""}}
|
||||
item replace block -5114 46 -109 container.22 with minecraft:apple{display:{Name:"\"Project: 371\""}}
|
||||
|
||||
setblock -4600 41 -285 minecraft:chest[facing=east]
|
||||
item replace block -4600 41 -285 container.12 with minecraft:cod 8
|
||||
item replace block -4600 41 -285 container.14 with minecraft:coal 2
|
||||
|
||||
setblock -4887 86 -295 minecraft:chest[facing=south]
|
||||
item replace block -4887 86 -295 container.3 with minecraft:crossbow{display:{Name:"\"Kawaii Justice Shooter (Sus Edition)\""}}
|
||||
item replace block -4887 86 -295 container.14 with minecraft:elytra{Damage:416}
|
||||
item replace block -4887 86 -295 container.21 with minecraft:enchanted_book{StoredEnchantments:[{id:"minecraft:multishot",lvl:1}]}
|
||||
|
||||
setblock -4530 28 101 minecraft:barrel[facing=up]
|
||||
item replace block -4530 28 101 container.13 with minecraft:shield{BlockEntityTag:{Base:1,Patterns:[{Color:15,Pattern:"bri"},{Color:15,Pattern:"hh"},{Color:15,Pattern:"cr"},{Color:15,Pattern:"ss"},{Color:4,Pattern:"bts"},{Color:14,Pattern:"gra"}]},Enchantments:[{}],Damage:272,display:{Name:"\"Flamer i Tiden\""}}
|
||||
|
||||
setblock -4542 22 -324 minecraft:dropper[facing=west]
|
||||
item replace block -4542 22 -324 container.0 with minecraft:dried_kelp 2
|
||||
item replace block -4542 22 -324 container.1 with minecraft:dried_kelp 2
|
||||
item replace block -4542 22 -324 container.2 with minecraft:dried_kelp 2
|
||||
item replace block -4542 22 -324 container.3 with minecraft:dried_kelp 2
|
||||
item replace block -4542 22 -324 container.4 with minecraft:chorus_fruit 2
|
||||
item replace block -4542 22 -324 container.5 with minecraft:dried_kelp 2
|
||||
item replace block -4542 22 -324 container.6 with minecraft:dried_kelp 2
|
||||
item replace block -4542 22 -324 container.7 with minecraft:dried_kelp 2
|
||||
item replace block -4542 22 -324 container.8 with minecraft:dried_kelp 2
|
||||
|
||||
setblock -4554 33 -323 minecraft:chest[facing=south]
|
||||
item replace block -4554 33 -323 container.13 with minecraft:golden_chestplate{Damage:108,Enchantments:[{id:"minecraft:binding_curse",lvl:1},{id:"minecraft:vanishing_curse",lvl:1}],display:{Name:"\"Antique Chestplate\""}}
|
||||
|
||||
setblock -4557 33 -324 minecraft:chest[facing=south]
|
||||
item replace block -4557 33 -324 container.13 with minecraft:cooked_beef{display:{Name:"\"Steak without Lamb Souce\""}} 4
|
||||
|
||||
setblock -4592 53 -265 minecraft:barrel[facing=up]
|
||||
item replace block -4592 53 -265 container.13 with minecraft:cooked_beef{Enchantments:[{}],display:{Name:"\"Steak with Lamb Sauce\""}} 4
|
||||
|
||||
setblock -4805 36 -268 minecraft:chest[facing=south]
|
||||
item replace block -4805 36 -268 container.12 with minecraft:ender_pearl
|
||||
item replace block -4805 36 -268 container.13 with minecraft:golden_sword{Damage:30,Enchantments:[{id:"minecraft:sharpness",lvl:4}],display:{Name:"\"Sabre of The Twisting Vitus\""}}
|
||||
item replace block -4805 36 -268 container.14 with minecraft:ender_pearl
|
||||
|
||||
setblock -4522 19 42 minecraft:barrel[facing=up]
|
||||
item replace block -4522 19 42 container.12 with minecraft:birch_boat
|
||||
item replace block -4522 19 42 container.13 with minecraft:iron_sword{Damage:246,Enchantments:[{id:"minecraft:sharpness",lvl:2}],display:{Name:"\"Rusty Sword\""}}
|
||||
item replace block -4522 19 42 container.14 with minecraft:birch_boat
|
||||
|
||||
setblock -4805 42 -281 minecraft:barrel[facing=south]
|
11
data/fmc/functions/hunger/reset_interactives.mcfunction
Normal file
11
data/fmc/functions/hunger/reset_interactives.mcfunction
Normal file
|
@ -0,0 +1,11 @@
|
|||
# Furnaces:
|
||||
setblock -4442 21 -483 minecraft:smoker[facing=east]
|
||||
setblock -4973 27 -45 minecraft:furnace[facing=east]
|
||||
setblock -4542 21 -322 minecraft:furnace[facing=west]
|
||||
setblock -4761 57 -310 minecraft:furnace[facing=east]
|
||||
setblock -4804 41 -281 minecraft:furnace[facing=south]
|
||||
|
||||
# Anvils:
|
||||
setblock -4971 27 -51 minecraft:anvil[facing=west]
|
||||
setblock -4661 34 -345 minecraft:anvil[facing=west]
|
||||
setblock -4761 57 -311 minecraft:anvil[facing=north]
|
7
data/fmc/functions/hunger/scoreboard_init.mcfunction
Normal file
7
data/fmc/functions/hunger/scoreboard_init.mcfunction
Normal file
|
@ -0,0 +1,7 @@
|
|||
scoreboard objectives add countdown dummy
|
||||
scoreboard players set @a countdown 1
|
||||
scoreboard objectives add kill playerKillCount
|
||||
scoreboard objectives add kills playerKillCount
|
||||
scoreboard players set @a kills 0
|
||||
scoreboard objectives setdisplay sidebar kills
|
||||
scoreboard objectives modify kills displayname "Kills:"
|
72
data/fmc/functions/hunger/shuffle.mcfunction
Normal file
72
data/fmc/functions/hunger/shuffle.mcfunction
Normal file
|
@ -0,0 +1,72 @@
|
|||
# Maps to digit:
|
||||
# 1
|
||||
# 5
|
||||
# 5
|
||||
# 5
|
||||
# 1
|
||||
# 3
|
||||
# 8
|
||||
# 1
|
||||
# 3
|
||||
# 7
|
||||
# 3
|
||||
# 6
|
||||
# 1
|
||||
# 2
|
||||
# 4
|
||||
# 4
|
||||
# 1
|
||||
# 3
|
||||
# 1
|
||||
# 3
|
||||
# Maps to storage:
|
||||
# 6 5
|
||||
# 18 19
|
||||
# 4 10
|
||||
# 14 12
|
||||
# 9 13
|
||||
# 1 17
|
||||
# 2 7
|
||||
# 15 16
|
||||
# 20 3
|
||||
# 11 8
|
||||
# Chest #1:
|
||||
execute if block -1906 8 -842 minecraft:air run clone -4694 76 -286 -4694 76 -286 -4696 78 -292 replace
|
||||
execute if block -1906 8 -842 minecraft:gold_block run clone -4690 75 -286 -4690 75 -286 -4696 78 -292 replace
|
||||
# Chest #2:
|
||||
execute if block -1906 8 -834 minecraft:air run clone -4692 76 -285 -4692 76 -285 -4694 78 -294 replace
|
||||
execute if block -1906 8 -834 minecraft:gold_block run clone -4691 76 -285 -4691 76 -285 -4694 78 -294 replace
|
||||
# Chest #3:
|
||||
execute if block -1906 8 -834 minecraft:air run clone -4691 75 -286 -4691 75 -286 -4692 78 -292 replace
|
||||
execute if block -1906 8 -834 minecraft:gold_block run clone -4690 76 -286 -4690 76 -286 -4692 78 -292 replace
|
||||
# Chest #4:
|
||||
execute if block -1906 8 -834 minecraft:air run clone -4691 75 -285 -4691 75 -285 -4690 78 -290 replace
|
||||
execute if block -1906 8 -834 minecraft:gold_block run clone -4693 75 -285 -4693 75 -285 -4690 78 -290 replace
|
||||
# Chest #5:
|
||||
execute if block -1906 8 -842 minecraft:air run clone -4691 76 -286 -4691 76 -286 -4692 78 -288 replace
|
||||
execute if block -1906 8 -842 minecraft:gold_block run clone -4691 76 -286 -4691 76 -286 -4692 78 -288 replace
|
||||
# Chest #6:
|
||||
execute if block -1906 8 -838 minecraft:air run clone -4694 75 -286 -4694 75 -286 -4690 78 -286 replace
|
||||
execute if block -1906 8 -838 minecraft:gold_block run clone -4693 76 -285 -4693 76 -285 -4690 78 -286 replace
|
||||
# Chest #7:
|
||||
execute if block -1906 8 -828 minecraft:air run clone -4693 75 -286 -4693 75 -286 -4692 78 -284 replace
|
||||
execute if block -1906 8 -828 minecraft:gold_block run clone -4693 76 -286 -4693 76 -286 -4692 78 -284 replace
|
||||
# Chest #8:
|
||||
execute if block -1906 8 -842 minecraft:air run clone -4690 75 -285 -4690 75 -285 -4694 78 -282 replace
|
||||
execute if block -1906 8 -842 minecraft:gold_block run clone -4694 76 -285 -4694 76 -285 -4694 78 -282 replace
|
||||
# Chest #9:
|
||||
execute if block -1906 8 -838 minecraft:air run clone -4690 76 -285 -4690 76 -285 -4696 78 -284 replace
|
||||
execute if block -1906 8 -838 minecraft:gold_block run clone -4692 75 -286 -4692 75 -286 -4696 78 -284 replace
|
||||
# Chest #10:
|
||||
execute if block -1906 8 -830 minecraft:air run clone -4694 75 -285 -4694 75 -285 -4698 78 -282 replace
|
||||
execute if block -1906 8 -830 minecraft:gold_block run clone -4692 76 -286 -4692 76 -286 -4698 78 -282 replace
|
||||
# Chest #11:
|
||||
# Chest #12:
|
||||
# Chest #13:
|
||||
# Chest #14:
|
||||
# Chest #15:
|
||||
# Chest #16:
|
||||
# Chest #17:
|
||||
# Chest #18:
|
||||
# Chest #19:
|
||||
# Chest #20:
|
10
data/fmc/functions/hunger/start.mcfunction
Normal file
10
data/fmc/functions/hunger/start.mcfunction
Normal file
|
@ -0,0 +1,10 @@
|
|||
scoreboard players set @a countdown 0
|
||||
kill @e[type=minecraft:item]
|
||||
clear @a
|
||||
effect clear @a
|
||||
function fmc:hunger/shuffle
|
||||
function fmc:hunger/refill
|
||||
function fmc:hunger/reset_interactives
|
||||
tellraw @a "<Coryo> Let the Hunger Games begin!"
|
||||
gamerule doMobSpawning false
|
||||
difficulty hard
|
10
data/fmc/functions/hunger/stop.mcfunction
Normal file
10
data/fmc/functions/hunger/stop.mcfunction
Normal file
|
@ -0,0 +1,10 @@
|
|||
spawnpoint @a -2381 34 641
|
||||
difficulty peaceful
|
||||
gamerule doMobSpawning true
|
||||
scoreboard objectives remove countdown
|
||||
scoreboard objectives remove kills
|
||||
schedule clear fmc:hunger/on_tick
|
||||
schedule clear fmc:hunger/xp
|
||||
gamerule keepInventory true
|
||||
teleport @a -320 4 -1789 -180 0
|
||||
function fmc:hunger/unload
|
3
data/fmc/functions/hunger/timer0.mcfunction
Normal file
3
data/fmc/functions/hunger/timer0.mcfunction
Normal file
|
@ -0,0 +1,3 @@
|
|||
title @a title "20"
|
||||
playsound minecraft:block.note_block.iron_xylophone master @a -4696 78 -288 16 0
|
||||
schedule function fmc:hunger/timer1 1s
|
3
data/fmc/functions/hunger/timer1.mcfunction
Normal file
3
data/fmc/functions/hunger/timer1.mcfunction
Normal file
|
@ -0,0 +1,3 @@
|
|||
title @a title "1E"
|
||||
playsound minecraft:block.note_block.iron_xylophone master @a -4696 78 -288 16 0
|
||||
schedule function fmc:hunger/timer2 1s
|
3
data/fmc/functions/hunger/timer10.mcfunction
Normal file
3
data/fmc/functions/hunger/timer10.mcfunction
Normal file
|
@ -0,0 +1,3 @@
|
|||
title @a title "12"
|
||||
playsound minecraft:block.note_block.iron_xylophone master @a -4696 78 -288 16 0
|
||||
schedule function fmc:hunger/timer11 1s
|
3
data/fmc/functions/hunger/timer11.mcfunction
Normal file
3
data/fmc/functions/hunger/timer11.mcfunction
Normal file
|
@ -0,0 +1,3 @@
|
|||
title @a title "11"
|
||||
playsound minecraft:block.note_block.iron_xylophone master @a -4696 78 -288 16 0
|
||||
schedule function fmc:hunger/timer12 1s
|
3
data/fmc/functions/hunger/timer12.mcfunction
Normal file
3
data/fmc/functions/hunger/timer12.mcfunction
Normal file
|
@ -0,0 +1,3 @@
|
|||
title @a title "10"
|
||||
playsound minecraft:block.note_block.iron_xylophone master @a -4696 78 -288 16 0
|
||||
schedule function fmc:hunger/timer13 1s
|
3
data/fmc/functions/hunger/timer13.mcfunction
Normal file
3
data/fmc/functions/hunger/timer13.mcfunction
Normal file
|
@ -0,0 +1,3 @@
|
|||
title @a title "E"
|
||||
playsound minecraft:block.note_block.iron_xylophone master @a -4696 78 -288 16 0
|
||||
schedule function fmc:hunger/timer14 1s
|
3
data/fmc/functions/hunger/timer14.mcfunction
Normal file
3
data/fmc/functions/hunger/timer14.mcfunction
Normal file
|
@ -0,0 +1,3 @@
|
|||
title @a title "X"
|
||||
playsound minecraft:block.note_block.iron_xylophone master @a -4696 78 -288 16 0
|
||||
schedule function fmc:hunger/timer15 1s
|
3
data/fmc/functions/hunger/timer15.mcfunction
Normal file
3
data/fmc/functions/hunger/timer15.mcfunction
Normal file
|
@ -0,0 +1,3 @@
|
|||
title @a title "9"
|
||||
playsound minecraft:block.note_block.iron_xylophone master @a -4696 78 -288 16 0
|
||||
schedule function fmc:hunger/timer16 1s
|
3
data/fmc/functions/hunger/timer16.mcfunction
Normal file
3
data/fmc/functions/hunger/timer16.mcfunction
Normal file
|
@ -0,0 +1,3 @@
|
|||
title @a title "8"
|
||||
playsound minecraft:block.note_block.iron_xylophone master @a -4696 78 -288 16 0
|
||||
schedule function fmc:hunger/timer17 1s
|
3
data/fmc/functions/hunger/timer17.mcfunction
Normal file
3
data/fmc/functions/hunger/timer17.mcfunction
Normal file
|
@ -0,0 +1,3 @@
|
|||
title @a title "7"
|
||||
playsound minecraft:block.note_block.iron_xylophone master @a -4696 78 -288 16 0
|
||||
schedule function fmc:hunger/timer18 1s
|
3
data/fmc/functions/hunger/timer18.mcfunction
Normal file
3
data/fmc/functions/hunger/timer18.mcfunction
Normal file
|
@ -0,0 +1,3 @@
|
|||
title @a title "6"
|
||||
playsound minecraft:block.note_block.iron_xylophone master @a -4696 78 -288 16 0
|
||||
schedule function fmc:hunger/timer19 1s
|
3
data/fmc/functions/hunger/timer19.mcfunction
Normal file
3
data/fmc/functions/hunger/timer19.mcfunction
Normal file
|
@ -0,0 +1,3 @@
|
|||
title @a title "5"
|
||||
playsound minecraft:block.note_block.iron_xylophone master @a -4696 78 -288 16 0
|
||||
schedule function fmc:hunger/timer20 1s
|
3
data/fmc/functions/hunger/timer2.mcfunction
Normal file
3
data/fmc/functions/hunger/timer2.mcfunction
Normal file
|
@ -0,0 +1,3 @@
|
|||
title @a title "1X"
|
||||
playsound minecraft:block.note_block.iron_xylophone master @a -4696 78 -288 16 0
|
||||
schedule function fmc:hunger/timer3 1s
|
3
data/fmc/functions/hunger/timer20.mcfunction
Normal file
3
data/fmc/functions/hunger/timer20.mcfunction
Normal file
|
@ -0,0 +1,3 @@
|
|||
title @a title "4"
|
||||
playsound minecraft:block.note_block.iron_xylophone master @a -4696 78 -288 16 0
|
||||
schedule function fmc:hunger/timer21 1s
|
3
data/fmc/functions/hunger/timer21.mcfunction
Normal file
3
data/fmc/functions/hunger/timer21.mcfunction
Normal file
|
@ -0,0 +1,3 @@
|
|||
title @a title "3"
|
||||
playsound minecraft:block.note_block.iron_xylophone master @a -4696 78 -288 16 0
|
||||
schedule function fmc:hunger/timer22 1s
|
3
data/fmc/functions/hunger/timer22.mcfunction
Normal file
3
data/fmc/functions/hunger/timer22.mcfunction
Normal file
|
@ -0,0 +1,3 @@
|
|||
title @a title "2"
|
||||
playsound minecraft:block.note_block.iron_xylophone master @a -4696 78 -288 16 0
|
||||
schedule function fmc:hunger/timer23 1s
|
3
data/fmc/functions/hunger/timer23.mcfunction
Normal file
3
data/fmc/functions/hunger/timer23.mcfunction
Normal file
|
@ -0,0 +1,3 @@
|
|||
title @a title "1"
|
||||
playsound minecraft:block.note_block.iron_xylophone master @a -4696 78 -288 16 0
|
||||
schedule function fmc:hunger/start 1s
|
3
data/fmc/functions/hunger/timer3.mcfunction
Normal file
3
data/fmc/functions/hunger/timer3.mcfunction
Normal file
|
@ -0,0 +1,3 @@
|
|||
title @a title "19"
|
||||
playsound minecraft:block.note_block.iron_xylophone master @a -4696 78 -288 16 0
|
||||
schedule function fmc:hunger/timer4 1s
|
3
data/fmc/functions/hunger/timer4.mcfunction
Normal file
3
data/fmc/functions/hunger/timer4.mcfunction
Normal file
|
@ -0,0 +1,3 @@
|
|||
title @a title "18"
|
||||
playsound minecraft:block.note_block.iron_xylophone master @a -4696 78 -288 16 0
|
||||
schedule function fmc:hunger/timer5 1s
|
3
data/fmc/functions/hunger/timer5.mcfunction
Normal file
3
data/fmc/functions/hunger/timer5.mcfunction
Normal file
|
@ -0,0 +1,3 @@
|
|||
title @a title "17"
|
||||
playsound minecraft:block.note_block.iron_xylophone master @a -4696 78 -288 16 0
|
||||
schedule function fmc:hunger/timer6 1s
|
3
data/fmc/functions/hunger/timer6.mcfunction
Normal file
3
data/fmc/functions/hunger/timer6.mcfunction
Normal file
|
@ -0,0 +1,3 @@
|
|||
title @a title "16"
|
||||
playsound minecraft:block.note_block.iron_xylophone master @a -4696 78 -288 16 0
|
||||
schedule function fmc:hunger/timer7 1s
|
3
data/fmc/functions/hunger/timer7.mcfunction
Normal file
3
data/fmc/functions/hunger/timer7.mcfunction
Normal file
|
@ -0,0 +1,3 @@
|
|||
title @a title "15"
|
||||
playsound minecraft:block.note_block.iron_xylophone master @a -4696 78 -288 16 0
|
||||
schedule function fmc:hunger/timer8 1s
|
3
data/fmc/functions/hunger/timer8.mcfunction
Normal file
3
data/fmc/functions/hunger/timer8.mcfunction
Normal file
|
@ -0,0 +1,3 @@
|
|||
title @a title "14"
|
||||
playsound minecraft:block.note_block.iron_xylophone master @a -4696 78 -288 16 0
|
||||
schedule function fmc:hunger/timer9 1s
|
3
data/fmc/functions/hunger/timer9.mcfunction
Normal file
3
data/fmc/functions/hunger/timer9.mcfunction
Normal file
|
@ -0,0 +1,3 @@
|
|||
title @a title "13"
|
||||
playsound minecraft:block.note_block.iron_xylophone master @a -4696 78 -288 16 0
|
||||
schedule function fmc:hunger/timer10 1s
|
49
data/fmc/functions/hunger/unload.mcfunction
Normal file
49
data/fmc/functions/hunger/unload.mcfunction
Normal file
|
@ -0,0 +1,49 @@
|
|||
# Middle:
|
||||
forceload remove -4727 -319 -4665 -257
|
||||
|
||||
# Experience Shrine:
|
||||
forceload remove -4728 -196
|
||||
|
||||
# Chests:
|
||||
forceload remove -4458 -143
|
||||
forceload remove -4571 -219
|
||||
forceload remove -4757 -315
|
||||
forceload remove -4586 -622
|
||||
forceload remove -4442 -483
|
||||
forceload remove -4799 -263
|
||||
forceload remove -4799 -261
|
||||
forceload remove -4973 -40
|
||||
forceload remove -4968 -47
|
||||
forceload remove -4956 -47
|
||||
forceload remove -4438 -483
|
||||
forceload remove -4242 -263
|
||||
forceload remove -4554 -388
|
||||
forceload remove -5057 -109
|
||||
forceload remove -4241 -271
|
||||
forceload remove -4672 -379
|
||||
forceload remove -4586 -622
|
||||
forceload remove -4663 -345
|
||||
forceload remove -4664 -351
|
||||
forceload remove -5114 -109
|
||||
forceload remove -4600 -285
|
||||
forceload remove -4887 -295
|
||||
forceload remove -4530 101
|
||||
forceload remove -4542 -324
|
||||
forceload remove -4554 -323
|
||||
forceload remove -4557 -324
|
||||
forceload remove -4592 -265
|
||||
forceload remove -4805 -268
|
||||
forceload remove -4522 42
|
||||
forceload remove -4805 -281
|
||||
|
||||
# Furnaces:
|
||||
forceload remove -4442 -483
|
||||
forceload remove -4973 -45
|
||||
forceload remove -4542 -322
|
||||
forceload remove -4761 -310
|
||||
forceload remove -4804 -281
|
||||
|
||||
# Anvils:
|
||||
forceload remove -4971 -51
|
||||
forceload remove -4661 -345
|
||||
forceload remove -4761 -311
|
2
data/fmc/functions/hunger/xp.mcfunction
Normal file
2
data/fmc/functions/hunger/xp.mcfunction
Normal file
|
@ -0,0 +1,2 @@
|
|||
xp add @a[dx=0,dy=0,dz=0,x=-4728,y=42,z=-196] 1 levels
|
||||
schedule function fmc:hunger/xp 32s
|
6
pack.mcmeta
Normal file
6
pack.mcmeta
Normal file
|
@ -0,0 +1,6 @@
|
|||
{
|
||||
"pack":{
|
||||
"description":"fadaeseMC:CreativeMadness Hunger Games",
|
||||
"pack_format":7
|
||||
}
|
||||
}
|
Reference in a new issue