Redesign biome and update

- Updates to 1.21.3
- Biome changes with correct colours
This commit is contained in:
HeroChris 2024-11-19 18:07:59 +01:00
parent dcd2f06fe0
commit cb08afef4c
22 changed files with 196 additions and 91 deletions

View File

@ -4,11 +4,9 @@
"type": "minecraft:flat", "type": "minecraft:flat",
"settings": { "settings": {
"biome": "herohost:biome", "biome": "herohost:biome",
"lakes": false,
"features": false,
"layers": [{ "layers": [{
"height": 1, "block": "minecraft:air",
"block": "minecraft:air" "height": 1
}], }],
"structure_overrides": [] "structure_overrides": []
} }

View File

@ -1,20 +1,19 @@
{ {
"ultrawarm": false, "ultrawarm": false,
"natural": false, "natural": false,
"piglin_safe": false, "coordinate_scale": 1,
"respawn_anchor_works": true,
"bed_works": true,
"has_raids": false,
"has_skylight": true, "has_skylight": true,
"has_ceiling": false, "has_ceiling": false,
"coordinate_scale": 1,
"ambient_light": 0.0, "ambient_light": 0.0,
"monster_spawn_light_level": 0,
"monster_spawn_block_light_limit": 0,
"piglin_safe": false,
"bed_works": true,
"respawn_anchor_works": true,
"has_raids": false,
"logical_height": 384, "logical_height": 384,
"infiniburn": "#herohost:infiniburn_world",
"min_y": -64, "min_y": -64,
"height": 384, "height": 384,
"effects": "minecraft:overworld", "infiniburn": "#herohost:infiniburn_world",
"sea_level": 0, "effects": "minecraft:overworld"
"monster_spawn_light_level": 0,
"monster_spawn_block_light_limit": 0
} }

View File

@ -2,10 +2,9 @@
tellraw @s [{"text":"» ","color":"gray"},{"text":"Welcome ","color":"white"},{"selector":"@s","color":"yellow"},{"text":", to the ","color":"white"},{"text":"H","color":"#fa6a52"},{"text":"e","color":"#fc7551"},{"text":"r","color":"#fd8051"},{"text":"o","color":"#fe8a52"},{"text":"H","color":"#ff9454"},{"text":"o","color":"#ff9e56"},{"text":"s","color":"#ffa85a"},{"text":"t","color":"#ffb15e"},{"text":" server!","color":"white"}] tellraw @s [{"text":"» ","color":"gray"},{"text":"Welcome ","color":"white"},{"selector":"@s","color":"yellow"},{"text":", to the ","color":"white"},{"text":"H","color":"#fa6a52"},{"text":"e","color":"#fc7551"},{"text":"r","color":"#fd8051"},{"text":"o","color":"#fe8a52"},{"text":"H","color":"#ff9454"},{"text":"o","color":"#ff9e56"},{"text":"s","color":"#ffa85a"},{"text":"t","color":"#ffb15e"},{"text":" server!","color":"white"}]
tellraw @a[tag=hc.initialized] [{"text":"» ","color":"gray"},{"text":"Everyone, give ","color":"white"},{"selector":"@s","color":"yellow"},{"text":" a warm welcome!","color":"white"}] tellraw @a[tag=hc.initialized] [{"text":"» ","color":"gray"},{"text":"Everyone, give ","color":"white"},{"selector":"@s","color":"yellow"},{"text":" a warm welcome!","color":"white"}]
execute at @s run playsound minecraft:entity.player.levelup master @s execute at @s run playsound minecraft:entity.player.levelup master @s ~ ~ ~ 1
execute in herohost:world run tp @s 0 101 0 0 0
execute in herohost:world run spawnpoint 0 100 0 0 0 # tp player
gamemode adventure @s[tag=!hc.debug]
# initialize player # initialize player
tag @s add hc.initialized tag @s add hc.initialized

View File

@ -2,12 +2,9 @@
tellraw @s [{"text":"» ","color":"gray"},{"text":"Welcome back ","color":"white"},{"selector":"@s","color":"yellow"},{"text":", to the ","color":"white"},{"text":"H","color":"#fa6a52"},{"text":"e","color":"#fc7551"},{"text":"r","color":"#fd8051"},{"text":"o","color":"#fe8a52"},{"text":"H","color":"#ff9454"},{"text":"o","color":"#ff9e56"},{"text":"s","color":"#ffa85a"},{"text":"t","color":"#ffb15e"},{"text":" server!","color":"white"}] tellraw @s [{"text":"» ","color":"gray"},{"text":"Welcome back ","color":"white"},{"selector":"@s","color":"yellow"},{"text":", to the ","color":"white"},{"text":"H","color":"#fa6a52"},{"text":"e","color":"#fc7551"},{"text":"r","color":"#fd8051"},{"text":"o","color":"#fe8a52"},{"text":"H","color":"#ff9454"},{"text":"o","color":"#ff9e56"},{"text":"s","color":"#ffa85a"},{"text":"t","color":"#ffb15e"},{"text":" server!","color":"white"}]
tellraw @s[tag=hc.debug] [{"text":"» ","color":"red"},{"text":"You are still in debug mode, click ","color":"white"},{"text":"here","color":"red","clickEvent":{"action":"run_command","value":"/tag @s remove hc.debug"},"hoverEvent": {"action": "show_text","value": {"text": "You need to be an operator to use this.","color": "#fc2003"}}},{"text":" to disable it.","color":"white"}] tellraw @s[tag=hc.debug] [{"text":"» ","color":"red"},{"text":"You are still in debug mode, click ","color":"white"},{"text":"here","color":"red","clickEvent":{"action":"run_command","value":"/tag @s remove hc.debug"},"hoverEvent": {"action": "show_text","value": {"text": "You need to be an operator to use this.","color": "#fc2003"}}},{"text":" to disable it.","color":"white"}]
execute at @s run playsound minecraft:entity.player.levelup master @s execute at @s run playsound minecraft:entity.player.levelup master @s ~ ~ ~ 1
execute in herohost:world run tp @s[tag=!hc.debug] 0 101 0 0 0
gamemode adventure @s[tag=!hc.debug]
# protection # tp player
clear @s[tag=!hc.debug]
# reset player score # reset player score
scoreboard players reset @s +hc.disconnect scoreboard players reset @s +hc.disconnect

View File

@ -2,3 +2,9 @@
tellraw @a [{"text":"» ","color":"green"},{"text": "Datapack resources loaded successfully.","color": "#ffffff"}] tellraw @a [{"text":"» ","color":"green"},{"text": "Datapack resources loaded successfully.","color": "#ffffff"}]
tellraw @a[tag=hc.debug] [{"text":"» ","color":"gray"},{"text":"If any issue occurs, click ","color":"white"},{"text":"here","color":"red","clickEvent":{"action":"run_command","value":"/reload"},"hoverEvent": {"action": "show_text","value": {"text": "You need to be an operator to use this.","color": "#fc2003"}}},{"text":" to reload the server.","color":"white"}] tellraw @a[tag=hc.debug] [{"text":"» ","color":"gray"},{"text":"If any issue occurs, click ","color":"white"},{"text":"here","color":"red","clickEvent":{"action":"run_command","value":"/reload"},"hoverEvent": {"action": "show_text","value": {"text": "You need to be an operator to use this.","color": "#fc2003"}}},{"text":" to reload the server.","color":"white"}]
# create scoreboard objectives
scoreboard objectives add +hc.core dummy
scoreboard objectives add +hc.disconnect minecraft.custom:minecraft.leave_game
# remove depricated scoreboard objectives

View File

@ -5,9 +5,15 @@ execute as @a[tag=!hc.initialized] run function herohost:core/initialize
execute as @a[scores={+hc.disconnect=1..}] run function herohost:core/reconnect execute as @a[scores={+hc.disconnect=1..}] run function herohost:core/reconnect
# protection # protection
gamemode adventure @a[tag=!hc.debug,gamemode=!adventure] #kill @e[type=item,tag=!persistent]
execute as @a[nbt=!{Dimension:"herohost:world"},tag=!hc.debug] in herohost:world run tp @s 0 100 0 0 0 gamemode adventure @a[tag=!hc.debug]
kill @e[type=item,nbt={Item:{tag:{clear:1b}}}]
clear KingNugget minecraft:splash_potion
# hc.debug
# games # games
execute in herohost:world if entity @p[x=-125,y=50,z=-376,dx=250,dy=100,dz=250] run function herohost:tnt/core execute in herohost:world if entity @p[x=-125,y=50,z=-376,dx=250,dy=100,dz=250] run function herohost:tnt/core

View File

@ -0,0 +1,17 @@
# --- HeroGames - Copyright (c) HeroHost team (code provided by HeroChris). ---
# give and remove tnt
item replace entity @a[tag=hc.get_tnt] armor.head with \
tnt[minecraft:enchantments={levels:{'minecraft:binding_curse':1},show_in_tooltip:false},minecraft:enchantment_glint_override=false,minecraft:attribute_modifiers={modifiers:[{type:'minecraft:movement_speed',amount:0.01,operation:'add_value',id:'herohost:custom_speed',slot:'head'}],show_in_tooltip:false},max_stack_size=1,minecraft:custom_name='[{"text":"Hostile boom box","color":"#de3131","italic":false}]',minecraft:lore=['[{"text":"Stop reading.. get rid of it!","color":"blue"}]','[""]','[{"text":"- keanu poopie stinky <3"}]']] 1
clear @a[tag=hc.give_tnt] minecraft:tnt
# tnt in offhand
execute as @a[nbt={Inventory:[{Slot:103b,id:"minecraft:tnt"}]}] unless entity @s[nbt={Inventory:[{Slot:-106b,id:"minecraft:tnt"}]}] run clear @s minecraft:tnt[minecraft:custom_data={clear:1b}]
execute as @a[nbt={Inventory:[{Slot:103b,id:"minecraft:tnt"}]}] if entity @s[nbt=!{Inventory:[{Slot:-106b,id:"minecraft:tnt"}]}] run item replace entity @s weapon.offhand with minecraft:tnt[minecraft:custom_data={clear:1b}]
# remove get/give tag
tag @a remove hc.get_tnt
tag @a remove hc.give_tnt
# game loops
execute if score $hc.tt_timer +hc.core matches 0.. run function herohost:tnt/run with storage minecraft:hc.tnt

View File

@ -0,0 +1,18 @@
# --- HeroGames - Copyright (c) HeroHost team (code provided by HeroChris). ---
# effects
execute as @a[nbt={Inventory:[{Slot:103b,id:"minecraft:tnt"}]}] run playsound minecraft:entity.generic.explode record @a ~ ~ ~ 1 1 1
execute as @a[nbt={Inventory:[{Slot:103b,id:"minecraft:tnt"}]}] run particle minecraft:explosion ~ ~1 ~ 0 0 0 1 2 normal
# reset player
execute in herohost:world run tp @a[tag=!hc.debug,nbt={Inventory:[{Slot:103b,id:"minecraft:tnt"}]}] ~ ~ ~
clear @a[tag=!hc.debug,nbt={Inventory:[{Slot:103b,id:"minecraft:tnt"}]}] minecraft:tnt
# start explosion timer
execute store result storage hc.tnt tt_timer int 1 run random value 25..35
$schedule function herohost:tnt/explosion $(tt_timer)s
# tag next
schedule function herohost:tnt/schedule/tag 3s
summon minecraft:block_display 5 101 -245 {block_state:{Name:"minecraft:scaffolding"}}

View File

@ -1,6 +1,12 @@
# --- HeroGames - Copyright (c) HeroHost team (code provided by HeroChris). --- # --- HeroGames - Copyright (c) HeroHost team (code provided by HeroChris). ---
# effects
playsound minecraft:entity.firework_rocket.launch record @a ~ ~ ~ 1 1 1 playsound minecraft:entity.firework_rocket.launch record @a ~ ~ ~ 1 1 1
particle minecraft:totem_of_undying ~ ~1 ~ 0 0 0 1 30 normal particle minecraft:totem_of_undying ~ ~1 ~ 0 0 0 1 30 normal
# hitback cooldown
effect give @s weakness 1 2 true
# reset
advancement revoke @s only herohost:tnt/get_tnt advancement revoke @s only herohost:tnt/get_tnt
tag @s add hc.get_tnt tag @s add hc.get_tnt

View File

@ -1,4 +1,5 @@
# --- HeroGames - Copyright (c) HeroHost team (code provided by HeroChris). --- # --- HeroGames - Copyright (c) HeroHost team (code provided by HeroChris). ---
# reset
advancement revoke @s only herohost:tnt/give_tnt advancement revoke @s only herohost:tnt/give_tnt
tag @s add hc.give_tnt tag @s add hc.give_tnt

View File

@ -0,0 +1,6 @@
# --- HeroGames - Copyright (c) HeroHost team (code provided by HeroChris). ---
execute as @e[tag=decor] run kill @e[tag=tnt_tag]
schedule function herohost:tnt/schedule/decor 2s
# kill @e[type=minecraft:block_display]

View File

@ -0,0 +1,31 @@
# --- HeroGames - Copyright (c) HeroHost team (code provided by HeroChris). ---
# loop
execute unless score $hc.tt_timer +hc.core matches 1.. run scoreboard players set $hc.tt_timer +hc.core 201
scoreboard players remove $hc.tt_timer +hc.core 1
# countdown
execute if score $hc.tt_timer +hc.core matches 200 run \
tellraw @a[] [{"text":"» ","color":"#e4f171"},{"text":"Starting in 10 seconds...","color":"white"}]
execute if score $hc.tt_timer +hc.core matches 100 run \
tellraw @a[] [{"text":"» ","color":"#e4f171"},{"text":"5","color":"white"}]
execute if score $hc.tt_timer +hc.core matches 80 run \
tellraw @a[] [{"text":"» ","color":"#e4f171"},{"text":"4","color":"white"}]
execute if score $hc.tt_timer +hc.core matches 60 run \
tellraw @a[] [{"text":"» ","color":"#e4f171"},{"text":"3","color":"white"}]
execute if score $hc.tt_timer +hc.core matches 40 run \
tellraw @a[] [{"text":"» ","color":"#e4f171"},{"text":"2","color":"white"}]
execute if score $hc.tt_timer +hc.core matches 20 run \
tellraw @a[] [{"text":"» ","color":"#e4f171"},{"text":"1","color":"white"}]
execute if score $hc.tt_timer +hc.core matches 0 run \
tellraw @a[] [{"text":"» ","color":"#e4f171"},{"text":"GO!","color":"white"}]
# start explosion timer
execute if score $hc.tt_timer +hc.core matches 0 store result storage hc.tnt tt_timer int 1 run random value 25..35
$execute if score $hc.tt_timer +hc.core matches 0 run schedule function herohost:tnt/explosion $(tt_timer)s
# tag random
execute if score $hc.tt_timer +hc.core matches 0 run tag @r[] add hc.get_tnt
# reset
execute if score $hc.tt_timer +hc.core matches ..0 run scoreboard players reset $hc.tt_timer

View File

@ -0,0 +1,32 @@
# --- HeroGames - Copyright (c) HeroHost team (code provided by HeroChris). ---
# bouy
execute in herohost:world run \
summon minecraft:armadillo 34.5 99.7 -226 {Silent:1b,Invulnerable:1b,PersistenceRequired:1b,Tags:["decor","tnt_tag"],state:scared,NoAI:1b,NoGravity:1b,leash: [I; 36, 101, -230],UUID: [I; 4, 1, 1, 1],Rotation:[40.0f,0.0f]}
execute in herohost:world run \
summon minecraft:armadillo 29.5 99.7 -223 {Silent:1b,Invulnerable:1b,PersistenceRequired:1b,Tags:["decor","tnt_tag"],state:scared,NoAI:1b,NoGravity:1b,leash:{UUID: [I; 4, 1, 1, 1]},UUID:[I;4,1,1,2],Rotation:[70.0f,0.0f]}
execute in herohost:world run \
summon minecraft:armadillo 23.5 99.7 -221 {Silent:1b,Invulnerable:1b,PersistenceRequired:1b,Tags:["decor","tnt_tag"],state:scared,NoAI:1b,NoGravity:1b,leash:{UUID: [I; 4, 1, 1, 2]},UUID:[I;4,1,1,3],Rotation:[65.0f,0.0f]}
execute in herohost:world run \
summon minecraft:armadillo 17.5 99.7 -218 {Silent:1b,Invulnerable:1b,PersistenceRequired:1b,Tags:["decor","tnt_tag"],state:scared,NoAI:1b,NoGravity:1b,leash:{UUID: [I; 4, 1, 1, 3]},UUID:[I;4,1,1,4],Rotation:[55.0f,0.0f]}
execute in herohost:world run \
summon minecraft:armadillo 12.5 99.7 -214 {Silent:1b,Invulnerable:1b,PersistenceRequired:1b,Tags:["decor","tnt_tag"],state:scared,NoAI:1b,NoGravity:1b,leash:{UUID: [I; 4, 1, 1, 4]},UUID:[I;4,1,1,5],Rotation:[55.0f,0.0f]}
execute in herohost:world run \
summon minecraft:armadillo 7.5 99.7 -212 {Silent:1b,Invulnerable:1b,PersistenceRequired:1b,Tags:["decor","tnt_tag"],state:scared,NoAI:1b,NoGravity:1b,leash:{UUID: [I; 4, 1, 1, 5]},UUID:[I;4,1,1,6],Rotation:[80.0f,0.0f]}
execute in herohost:world run \
summon minecraft:armadillo 1.5 99.7 -212 {Silent:1b,Invulnerable:1b,PersistenceRequired:1b,Tags:["decor","tnt_tag"],state:scared,NoAI:1b,NoGravity:1b,leash:{UUID: [I; 4, 1, 1, 6]},UUID:[I;4,1,1,7],Rotation:[100.0f,0.0f]}
execute in herohost:world run \
summon minecraft:armadillo -3.5 99.7 -215 {Silent:1b,Invulnerable:1b,PersistenceRequired:1b,Tags:["decor","tnt_tag"],state:scared,NoAI:1b,NoGravity:1b,leash:{UUID: [I; 4, 1, 1, 7]},UUID:[I;4,1,1,8],Rotation:[120.0f,0.0f]}
execute in herohost:world run \
summon minecraft:armadillo -9.5 99.7 -218 {Silent:1b,Invulnerable:1b,PersistenceRequired:1b,Tags:["decor","tnt_tag"],state:scared,NoAI:1b,NoGravity:1b,leash:{UUID: [I; 4, 1, 1, 8]},UUID:[I;4,1,1,9],Rotation:[110.0f,0.0f]}
execute in herohost:world run \
summon minecraft:armadillo -15.5 99.7 -219 {Silent:1b,Invulnerable:1b,PersistenceRequired:1b,Tags:["decor","tnt_tag"],state:scared,NoAI:1b,NoGravity:1b,leash:{UUID: [I; 4, 1, 1, 9]},UUID:[I;4,1,1,10],Rotation:[105.0f,0.0f]}
execute in herohost:world run \
summon minecraft:armadillo -21.5 99.7 -221 {Silent:1b,Invulnerable:1b,PersistenceRequired:1b,Tags:["decor","tnt_tag"],state:scared,NoAI:1b,NoGravity:1b,leash:{UUID: [I; 4, 1, 1, 10]},UUID:[I;4,1,1,11],Rotation:[115.0f,0.0f]}
execute in herohost:world run \
summon minecraft:armadillo -26.5 99.7 -224 {Silent:1b,Invulnerable:1b,PersistenceRequired:1b,Tags:["decor","tnt_tag"],state:scared,NoAI:1b,NoGravity:1b,leash:{UUID: [I; 4, 1, 1, 11]},UUID:[I;4,1,1,12],Rotation:[140.0f,0.0f]}
# test
# execute in herohost:world run summon minecraft:block_display 4.5 100.5 -245.5 {block_state:{Name:flower_pot},transformation:{left_rotation:[0f,0f,0f,1f],right_rotation:[0f,0f,0f,1f],translation:[-0.75f,0f,-0.75f],scale:[1.5f,1.5f,1.5f]}}
# execute in herohost:world run summon minecraft:block_display 4.5 101 -245.5 {block_state:{Name:scaffolding},transformation:{left_rotation:[0f,0f,0f,1f],right_rotation:[0f,0f,0f,1f],translation:[-0.25f,0f,-0.25f],scale:[0.5f,0.5f,0.5f]}}
# execute in herohost:world run summon minecraft:block_display 4.5 101.5 -245.5 {block_state:{Name:flower_pot},transformation:{left_rotation:[0f,0f,0f,1f],right_rotation:[0f,0f,0f,1f],translation:[-0.375f,0f,-0.375f],scale:[0.75f,0.75f,0.75f]}}

View File

@ -0,0 +1,4 @@
# --- HeroGames - Copyright (c) HeroHost team (code provided by HeroChris). ---
# tag random
tag @r[] add hc.get_tnt

View File

@ -1,13 +0,0 @@
# --- HeroGames - Copyright (c) HeroHost team (code provided by HeroChris). ---
# give and remove tnt
item replace entity @a[tag=hc.get_tnt] armor.head with tnt{HideFlags:1,Enchantments:[{id:"minecraft:binding_curse",lvl:1s}],AttributeModifiers:[{Slot:"head",AttributeName:"generic.movement_speed", Name:"generic.movement_speed", Amount:0.02, Operation:0, UUID:[I;1,1,1,1]}],display:{Name:'[{"text":"Hostile boom box","color":"#de3131","italic":false}]',Lore:['{"text":"Stop reading.. get rid of it!"}','{"text":""}','{"text":"+2% Speed","color":"dark_green","italic":false}']}} 1
clear @a[tag=hc.give_tnt] minecraft:tnt
# tnt in offhand
execute as @a[nbt={Inventory:[{Slot:103b,id:"minecraft:tnt"}]}] if entity @s[nbt=!{Inventory:[{Slot:-106b,id:"minecraft:tnt"}]}] run clear @s minecraft:tnt{clear:1b}
execute as @a[nbt={Inventory:[{Slot:103b,id:"minecraft:tnt"}]}] if entity @s[nbt=!{Inventory:[{Slot:-106b,id:"minecraft:tnt"}]}] run item replace entity @s weapon.offhand with minecraft:tnt{clear:1b}
# remove get/give tag
tag @a remove hc.get_tnt
tag @a remove hc.give_tnt

View File

@ -1,25 +1,23 @@
{ {
"has_precipitation": false,
"temperature": 0.8, "temperature": 0.8,
"downfall": 0, "downfall": 0.0,
"has_precipitation": true,
"category": "none",
"effects": { "effects": {
"sky_color": 11652351, "fog_color": 12638463,
"fog_color": 8432639, "sky_color": 7777985,
"water_color": 1277345, "water_color": 1277345,
"water_fog_color": 1277345, "water_fog_color": 1277345,
"foliage_color": 13065245, "foliage_color": 12944145,
"grass_color": 5072394, "grass_color": 7109681,
"particle": { "particle": {
"probability": 0.0005, "probability": 0.0005,
"options": { "options": {
"scale": 0.75,
"type": "minecraft:spore_blossom_air" "type": "minecraft:spore_blossom_air"
} }
} }
}, },
"spawners": {}, "spawners": {},
"spawn_costs": {}, "spawn_costs": {},
"carvers": {}, "carvers": [],
"features": [] "features": []
} }

View File

@ -10,7 +10,7 @@
"entries": [ "entries": [
{ {
"data": { "data": {
"Name": "minecraft:grass" "Name": "minecraft:short_grass"
}, },
"weight": 3 "weight": 3
}, },
@ -40,4 +40,4 @@
} }
}, },
"type": "minecraft:flower" "type": "minecraft:flower"
} }

View File

@ -1,6 +1,6 @@
{ {
"pack": { "pack": {
"pack_format": 15, "pack_format": 48,
"description": "HeroHost - HeroChris 2023" "description": "HeroHost - HeroChris 2024"
} }
} }