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",
"settings": {
"biome": "herohost:biome",
"lakes": false,
"features": false,
"layers": [{
"height": 1,
"block": "minecraft:air"
"block": "minecraft:air",
"height": 1
}],
"structure_overrides": []
}

View File

@ -1,20 +1,19 @@
{
"ultrawarm": false,
"natural": false,
"piglin_safe": false,
"respawn_anchor_works": true,
"bed_works": true,
"has_raids": false,
"coordinate_scale": 1,
"has_skylight": true,
"has_ceiling": false,
"coordinate_scale": 1,
"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,
"infiniburn": "#herohost:infiniburn_world",
"min_y": -64,
"height": 384,
"effects": "minecraft:overworld",
"sea_level": 0,
"monster_spawn_light_level": 0,
"monster_spawn_block_light_limit": 0
"infiniburn": "#herohost:infiniburn_world",
"effects": "minecraft:overworld"
}

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 @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 in herohost:world run tp @s 0 101 0 0 0
execute in herohost:world run spawnpoint 0 100 0 0 0
gamemode adventure @s[tag=!hc.debug]
execute at @s run playsound minecraft:entity.player.levelup master @s ~ ~ ~ 1
# tp player
# initialize player
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[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 in herohost:world run tp @s[tag=!hc.debug] 0 101 0 0 0
gamemode adventure @s[tag=!hc.debug]
execute at @s run playsound minecraft:entity.player.levelup master @s ~ ~ ~ 1
# protection
clear @s[tag=!hc.debug]
# tp player
# reset player score
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[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
# protection
gamemode adventure @a[tag=!hc.debug,gamemode=!adventure]
execute as @a[nbt=!{Dimension:"herohost:world"},tag=!hc.debug] in herohost:world run tp @s 0 100 0 0 0
kill @e[type=item,nbt={Item:{tag:{clear:1b}}}]
#kill @e[type=item,tag=!persistent]
gamemode adventure @a[tag=!hc.debug]
clear KingNugget minecraft:splash_potion
# hc.debug
# 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

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). ---
# effects
playsound minecraft:entity.firework_rocket.launch record @a ~ ~ ~ 1 1 1
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
tag @s add hc.get_tnt

View File

@ -1,4 +1,5 @@
# --- HeroGames - Copyright (c) HeroHost team (code provided by HeroChris). ---
# reset
advancement revoke @s only herohost:tnt/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,
"downfall": 0,
"has_precipitation": true,
"category": "none",
"downfall": 0.0,
"effects": {
"sky_color": 11652351,
"fog_color": 8432639,
"fog_color": 12638463,
"sky_color": 7777985,
"water_color": 1277345,
"water_fog_color": 1277345,
"foliage_color": 13065245,
"grass_color": 5072394,
"foliage_color": 12944145,
"grass_color": 7109681,
"particle": {
"probability": 0.0005,
"options": {
"scale": 0.75,
"type": "minecraft:spore_blossom_air"
}
}
},
"spawners": {},
"spawn_costs": {},
"carvers": {},
"carvers": [],
"features": []
}

View File

@ -1,43 +1,43 @@
{
"config": {
"tries": 48,
"xz_spread": 6,
"y_spread": 1,
"config": {
"tries": 48,
"xz_spread": 6,
"y_spread": 1,
"feature": {
"feature": {
"feature": {
"config": {
"to_place": {
"entries": [
{
"data": {
"Name": "minecraft:grass"
},
"weight": 3
"config": {
"to_place": {
"entries": [
{
"data": {
"Name": "minecraft:short_grass"
},
{
"data": {
"Name": "minecraft:fern"
},
"weight": 1
}
],
"type": "minecraft:weighted_state_provider"
}
},
"type": "minecraft:simple_block"
},
"placement": [
{
"predicate": {
"blocks": [
"minecraft:air"
],
"type": "minecraft:matching_blocks"
},
"type": "minecraft:block_predicate_filter"
"weight": 3
},
{
"data": {
"Name": "minecraft:fern"
},
"weight": 1
}
],
"type": "minecraft:weighted_state_provider"
}
]
}
},
"type": "minecraft:flower"
}
},
"type": "minecraft:simple_block"
},
"placement": [
{
"predicate": {
"blocks": [
"minecraft:air"
],
"type": "minecraft:matching_blocks"
},
"type": "minecraft:block_predicate_filter"
}
]
}
},
"type": "minecraft:flower"
}

View File

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