Compare commits

..

1 Commits

Author SHA1 Message Date
731c2c9da8 Troll items
For private use or testing purposes
2024-11-19 18:08:56 +01:00
18 changed files with 52 additions and 341 deletions

View File

@ -1,37 +0,0 @@
{
"parent": "herohost:herohost/root",
"display": {
"icon": {
"id": "minecraft:leather_boots"
},
"title": {
"translate": "hhost.minigame.advancement.herohost.baby_steps.title",
"fallback": "Baby steps"
},
"description": {
"translate": "hhost.minigame.advancement.herohost.baby_steps.description",
"fallback": "Take your first steps [not working yet]"
},
"frame": "task",
"show_toast": true,
"announce_to_chat": false,
"hidden": false
},
"criteria": {
"baby_steps": {
"trigger": "minecraft:location",
"conditions": {
"player": {
"distance": {
"horizontal": {
"min": 100
}
}
}
}
}
},
"rewards": {
}
}

View File

@ -1,34 +0,0 @@
{
"parent": "herohost:herohost/root",
"display": {
"icon": {
"id": "minecraft:barrier"
},
"title": {
"translate": "hhost.minigame.advancement.herohost.hands_off.title",
"fallback": "Hands off"
},
"description": {
"translate": "hhost.minigame.advancement.herohost.hands_off.description",
"fallback": "Can't do that, it's not yours"
},
"frame": "task",
"show_toast": true,
"announce_to_chat": false,
"hidden": true
},
"criteria": {
"hands_off": {
"trigger": "minecraft:player_interacted_with_entity",
"conditions": {
"entity": {
"type": "minecraft:interaction",
"nbt": "{Tags:[\"locked\"]}"
}
}
}
},
"rewards": {
}
}

View File

@ -1,29 +0,0 @@
{
"parent": "herohost:herohost/hands_off",
"display": {
"icon": {
"id": "minecraft:barrier"
},
"title": {
"translate": "hhost.minigame.advancement.herohost.hard_listener.title",
"fallback": "Hard listener"
},
"description": {
"translate": "hhost.minigame.advancement.herohost.hard_listener.description",
"fallback": "This could've been avoided"
},
"frame": "task",
"show_toast": true,
"announce_to_chat": false,
"hidden": true
},
"criteria": {
"hard_listener": {
"trigger": "minecraft:impossible",
"conditions": {}
}
},
"rewards": {
}
}

View File

@ -1,25 +0,0 @@
{
"display": {
"icon": {
"id": "minecraft:axolotl_bucket"
},
"title": {
"translate": "hhost.minigame.advancement.herohost.root.title",
"fallback": "HeroHost servers"
},
"description": {
"translate": "hhost.minigame.advancement.herohost.root.description",
"fallback": "Welcome to the HeroHost minigame server!"
},
"frame": "task",
"show_toast": true,
"announce_to_chat": false,
"hidden": false,
"background": "minecraft:textures/block/white_concrete_powder.png"
},
"criteria": {
"tick": {
"trigger": "minecraft:tick"
}
}
}

View File

@ -1,16 +0,0 @@
{
"criteria": {
"requirement": {
"trigger": "minecraft:player_interacted_with_entity",
"conditions": {
"entity": {
"type": "minecraft:interaction",
"nbt": "{Tags:[\"locked\"]}"
}
}
}
},
"rewards": {
"function": "herohost:misc/lock"
}
}

View File

@ -1,70 +0,0 @@
{
"description": {
"translate": "hhost.minigame.enchantment.lobby.description",
"fallback": "Lobby enhanced"
},
"supported_items": "#minecraft:foot_armor",
"weight": 2,
"max_level": 1,
"min_cost": {
"base": 25,
"per_level_above_first": 25
},
"max_cost": {
"base": 75,
"per_level_above_first": 25
},
"anvil_cost": 4,
"slots": [
"feet"
],
"effects": {
"prevent_armor_change": {},
"attributes": [
{
"amount": -1,
"attribute": "minecraft:attack_damage",
"id": "herohost:enchantment.attack_damage",
"operation": "add_multiplied_total"
}
],
"minecraft:damage_immunity": [
{
"effect": {},
"requirements": {
"condition": "minecraft:damage_source_properties",
"predicate": {
"tags": [
{
"expected": true,
"id": "minecraft:is_fall"
},
{
"expected": false,
"id": "minecraft:bypasses_invulnerability"
}
]
}
}
},
{
"effect": {},
"requirements": {
"condition": "minecraft:damage_source_properties",
"predicate": {
"tags": [
{
"expected": true,
"id": "minecraft:is_drowning"
},
{
"expected": false,
"id": "minecraft:bypasses_invulnerability"
}
]
}
}
}
]
}
}

View File

@ -0,0 +1,28 @@
# --- HeroGames - Copyright (c) HeroHost team (code provided by HeroChris). ---
give @s minecraft:purple_shulker_box[\
jukebox_playable={song:"relic",show_in_tooltip:false},\
minecraft:custom_name='[{"text":"T","color":"#210303","italic":false,"bold":true},{"text":"T","color":"#4c0404","italic":false,"bold":true},{"text":"T","color":"#790303","italic":false,"bold":true},{"text":"Trick","color":"#aa0000","italic":false,"bold":true},{"text":" or Treat","color":"#e2400e","italic":false,"bold":false},{"text":"t","color":"#9f2b0d","italic":false,"bold":false},{"text":"t","color":"#5e180a","italic":false,"bold":false},{"text":"t","color":"#200804","italic":false,"bold":false}]',minecraft:lore=['[""]','[{"text":"Box of goodies","color":"white","italic":false}]','[{"text":"very useful in","color":"white","italic":false}]','[{"text":"some... ","color":"white","italic":false},{"text":"SCENARIOS","color":"#610000","italic":true,"bold":true}]','[""]','[{"text":"By: ","color":"gray","italic":false},{"text":"HeroChris","color":"#e2400e","italic":false}]']] 1
give @s minecraft:ender_dragon_spawn_egg[\
minecraft:rarity=epic,minecraft:max_stack_size=99,\
minecraft:entity_data={id:"minecraft:fireball",Motion:[0d,0d,0d],ExplosionPower:127,Item:{id:"minecraft:bedrock"}},\
minecraft:custom_name='[{"text":"Q","color":"#1a0c22","italic":false,"bold":true},{"text":"Q","color":"#321540","italic":false,"bold":true},{"text":"Q","color":"#4b1c60","italic":false,"bold":true},{"text":"Quantum ","color":"#652280","italic":false,"bold":true},{"text":"entanglement","color":"#e2400e","italic":false,"bold":false},{"text":"t","color":"#9f2b0d","italic":false,"bold":false},{"text":"t","color":"#5e180a","italic":false,"bold":false},{"text":"t","color":"#200804","italic":false,"bold":false}]',\
minecraft:lore=['[{"text":"Intermolecular damage","color":"white","italic":false}]','[{"text":"to the ","color":"white","italic":false},{"text":"UNIVERSE","color":"#652280","italic":true,"bold":true}]','[""]','[{"text":"By: ","color":"gray","italic":false},{"text":"HeroChris","color":"#e2400e","italic":false}]']] 99
give @s minecraft:ender_dragon_spawn_egg[\
minecraft:rarity=epic,minecraft:max_stack_size=99,\
minecraft:entity_data={id:"minecraft:vex",Silent:1b,NoAI:true,LifeTicks:0s,Health:1f,HandItems:[{id:"minecraft:diamond_sword",count:1b,components:{"minecraft:tool":{default_mining_speed:100,rules:[{correct_for_drops:true,blocks:"#mineable/hoe"},{correct_for_drops:true,blocks:"#mineable/axe"},{correct_for_drops:true,blocks:"#mineable/pickaxe"},{correct_for_drops:true,blocks:"#mineable/shovel"}]},can_break:{predicates:[{blocks:"#mineable/hoe"},{blocks:"#mineable/axe"},{blocks:"#mineable/shovel"},{blocks:"#mineable/pickaxe"}],show_in_tooltip:false},"minecraft:fire_resistant":{},"minecraft:enchantments":{levels:{"minecraft:looting":255},show_in_tooltip:false},"minecraft:enchantment_glint_override":false,"minecraft:unbreakable":{show_in_tooltip:false},"minecraft:fire_resistant":{},"minecraft:jukebox_playable":{song:"minecraft:pigstep",show_in_tooltip:false},"minecraft:attribute_modifiers":{modifiers:[{id:"scale",type:"minecraft:scale",amount:-0.5,operation:"add_value",slot:"offhand"}],show_in_tooltip:false},"minecraft:custom_name":'[{"text":"G","color":"#1f0c05","italic":false,"bold":true},{"text":"G","color":"#632e0a","italic":false,"bold":true},{"text":"G","color":"#ae6108","italic":false,"bold":true},{"text":"GOD","color":gold,"italic":false,"bold":true},{"text":"\'s wrath","color":"#e2400e","italic":false,"bold":false},{"text":"h","color":"#9f2b0d","italic":false,"bold":false},{"text":"h","color":"#5e180a","italic":false,"bold":false},{"text":"h","color":"#200804","italic":false,"bold":false}]',"minecraft:lore":['[{"text":"Tip the scales.","color":"white","italic":false}]','[{"text":"Swap hands for ","color":"white","italic":false}]','[{"text":"QUICK","color":gold,"italic":true,"bold":true},{"text":" escape","color":"white","italic":false,"bold":false}]','[""]','[{"text":"By: ","color":"gray","italic":false},{"text":"HeroChris","color":"#e2400e","italic":false}]']}},{}],HandDropChances:[2.0f,2.0f],DeathLootTable:"minecraft:empty"},\
minecraft:custom_name='[{"text":"G","color":"#1f0c05","italic":false,"bold":true},{"text":"G","color":"#632e0a","italic":false,"bold":true},{"text":"G","color":"#ae6108","italic":false,"bold":true},{"text":"GOD ","color":"gold","italic":false,"bold":true},{"text":"complex","color":"#e2400e","italic":false,"bold":false},{"text":"x","color":"#9f2b0d","italic":false,"bold":false},{"text":"x","color":"#5e180a","italic":false,"bold":false},{"text":"x","color":"#200804","italic":false,"bold":false}]',\
minecraft:lore=['[{"text":"Equip yourself with","color":"white","italic":false}]','[{"text":"GOD TIER","color":"gold","italic":true,"bold":true},{"text":" equipment","color":"white","bold":false,"italic":false}]','[""]','[{"text":"By: ","color":"gray","italic":false},{"text":"HeroChris","color":"#e2400e","italic":false}]']] 99
give @s minecraft:spawner[\
minecraft:block_entity_data={id:"minecraft:mob_spawner",SpawnData:{entity:{id:"minecraft:experience_orb",Value:20,Count:5}},MinSpawnDelay:3s,MaxSpawnDelay:3s,RequiredPlayerRange:2s},\
minecraft:custom_name='[{"text":"G","color":"#0a241c","italic":false,"bold":true},{"text":"G","color":"#175a44","italic":false,"bold":true},{"text":"G","color":"#21916d","italic":false,"bold":true},{"text":"Good ","color":"#29ca94","italic":false,"bold":true},{"text":"experience","color":"#e2400e","italic":false,"bold":false},{"text":"e","color":"#9f2b0d","italic":false,"bold":false},{"text":"e","color":"#5e180a","italic":false,"bold":false},{"text":"e","color":"#200804","italic":false,"bold":false}]',\
minecraft:lore=['[{"text":"Stand close and enjoy","color":"white","italic":false}]','[{"text":"some ","color":"white","italic":false},{"text":"EXPERIENCE","color":"#29ca94","italic":true,"bold":true}]','[""]','[{"text":"By: ","color":"gray","italic":false},{"text":"HeroChris","color":"#e2400e","italic":false}]']] 64
give @s minecraft:spawner[\
minecraft:block_entity_data={id:"minecraft:mob_spawner",SpawnData:{entity:{id:"minecraft:experience_orb",Value:20,Count:5}},MinSpawnDelay:1s,MaxSpawnDelay:1s,RequiredPlayerRange:2s,MaxNearbyEntities:9999,SpawnCount:999,Delay:0s,SpawnRange:20s},\
minecraft:custom_name='[{"text":"B","color":"#210303","italic":false,"bold":true},{"text":"B","color":"#4c0404","italic":false,"bold":true},{"text":"B","color":"#790303","italic":false,"bold":true},{"text":"Bad ","color":"#aa0000","italic":false,"bold":true},{"text":"experience","color":"#e2400e","italic":false,"bold":false},{"text":"e","color":"#9f2b0d","italic":false,"bold":false},{"text":"e","color":"#5e180a","italic":false,"bold":false},{"text":"e","color":"#200804","italic":false,"bold":false}]',\
minecraft:lore=['[{"text":"Might end worlds","color":"white","italic":false}]','[{"text":"or even servers ","color":"white","italic":false}]','[{"text":"using ","color":"white","italic":false},{"text":"EXPERIENCE","color":"#aa0000","italic":true,"bold":true}]','[""]','[{"text":"By: ","color":"gray","italic":false},{"text":"HeroChris","color":"#e2400e","italic":false}]']] 64
give @s minecraft:splash_potion[\
minecraft:rarity=epic,max_stack_size=99,hide_additional_tooltip={},\
potion_contents={custom_color:12189519,custom_effects:[{id:"minecraft:instant_health",amplifier:125,duration:1,show_particles:0b,show_icon:0b}]},\
minecraft:custom_name='[{"text":"B","color":"#1a0c22","italic":false,"bold":true},{"text":"B","color":"#321540","italic":false,"bold":true},{"text":"B","color":"#4b1c60","italic":false,"bold":true},{"text":"Balance ","color":"#652280","italic":false,"bold":true},{"text":"Breaker","color":"#e2400e","italic":false,"bold":false},{"text":"r","color":"#9f2b0d","italic":false,"bold":false},{"text":"r","color":"#5e180a","italic":false,"bold":false},{"text":"r","color":"#200804","italic":false,"bold":false}]',\
minecraft:lore=['[{"text":"Tip all the scales","color":"white","italic":false}]','[{"text":"in your ","color":"white","italic":false},{"text":"FAVOUR","color":"#652280","italic":true,"bold":true}]','[""]','[{"text":"Even ","color":"white","italic":false,"bold":false},{"text":"creative","color":"white","italic":false,"bold":false,"underlined":true},{"text":" can\'t","color":"white","italic":false,"bold":false}]','[{"text":"save you now...","color":"white","italic":false,"bold":false}]','[""]','[{"text":"By: ","color":"gray","italic":false},{"text":"HeroChris","color":"#e2400e","italic":false}]']] 99

View File

@ -1,15 +1,10 @@
# --- HeroGames - Copyright (c) HeroHost team (code provided by HeroChris). --- # --- HeroGames - Copyright (c) HeroHost team (code provided by HeroChris). ---
tellraw @s [{"text":"» ","color":"gray"},{"translate":"hhost.minigame.welcome","fallback":"Welcome %s to the %s server!","with":[{"selector":"@s","color":"yellow"},{"text":"H","color":"#fa6a52","extra":[{"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"}]}],"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"},{"translate":"hhost.minigame.wish_welcome","fallback":"Everyone, give %s a warm welcome!","with":[{"selector":"@s","color":"yellow"}],"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:block.amethyst_block.step ambient @s ~ ~ ~ 0.7 0.7 execute at @s run playsound minecraft:entity.player.levelup master @s ~ ~ ~ 1
# reset player # tp player
execute as @s[tag=!hc.debug] run function herohost:core/reset
# misc
scoreboard players enable @s +hc.warp
execute at @s run playsound minecraft:block.amethyst_block.step ambient @s ~ ~ ~ 0.7 0.7
# initialize player # initialize player
tag @s add hc.initialized tag @s add hc.initialized

View File

@ -1,15 +1,10 @@
# --- HeroGames - Copyright (c) HeroHost team (code provided by HeroChris). --- # --- HeroGames - Copyright (c) HeroHost team (code provided by HeroChris). ---
tellraw @s [{"text":"» ","color":"gray"},{"translate":"hhost.minigame.welcome_back","fallback":"Welcome back %s to the %s server!","with":[{"selector":"@s","color":"yellow"},{"text":"H","color":"#fa6a52","extra":[{"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"}]}],"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"},{"translate":"hhost.minigame.debug_warning","fallback":"You are still in debug mode, click %s to disable it.","with":[{"translate":"hhost.minigame.here","fallback":"here","color":"red","clickEvent":{"action":"run_command","value":"/tag @s remove hc.debug"},"hoverEvent":{"action":"show_text","contents":[{"translate":"hhost.minigame.operator_warning","fallback":"You need to be an operator to use this.","color":"red"}]}}],"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:block.amethyst_block.step ambient @s ~ ~ ~ 0.7 0.7 execute at @s run playsound minecraft:entity.player.levelup master @s ~ ~ ~ 1
# reset player # tp player
execute as @s[tag=!hc.debug] run function herohost:core/reset
# misc
scoreboard players enable @s +hc.warp
execute at @s run playsound minecraft:block.amethyst_block.step ambient @s ~ ~ ~ 0.7 0.7
# reset player score # reset player score
scoreboard players reset @s +hc.disconnect scoreboard players reset @s +hc.disconnect

View File

@ -1,18 +0,0 @@
# --- HeroGames - Copyright (c) HeroHost team (code provided by HeroChris). ---
# world below y50 tag
execute if entity @s[predicate=herohost:world_y50] run tag @s add hc.world_y50
# default functionality
clear @s[tag=!hc.world_y50]
item replace entity @s armor.feet with minecraft:leather_boots[minecraft:enchantments={levels:{"herohost:lobby":1}}]
execute in herohost:world run tp @s 5 109 50 -90 0
execute in herohost:world run spawnpoint @s 5 109 50 -90
# stop execution of normal
execute if entity @s[tag=!hc.world_y50] run return fail
# world below y50 execution
execute at @s[tag=hc.world_y50] run playsound minecraft:entity.enderman.teleport ambient @s ~ ~ ~ 0.7 0.7
title @s[tag=hc.world_y50] actionbar [{"translate":"hhost.minigame."}]
tag @s[tag=hc.world_y50] remove hc.world_y50

View File

@ -1,15 +1,10 @@
# --- HeroGames - Copyright (c) HeroHost team (code provided by HeroChris). --- # --- HeroGames - Copyright (c) HeroHost team (code provided by HeroChris). ---
tellraw @a [{"text":"» ","color":"green"},{"translate": "hhost.minigame.reload","fallback": "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"},{"translate":"hhost.minigame.reload_issue","fallback":"If any issues occur, click %s to reload the server.","with":[{"translate":"hhost.minigame.here","fallback":"here","color":"red","clickEvent":{"action":"run_command","value":"/reload"},"hoverEvent":{"action":"show_text","contents":[{"translate":"hhost.minigame.operator_warning","fallback":"You need to be an operator to use this.","color":"red"}]}}],"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 # create scoreboard objectives
scoreboard objectives add +hc.core dummy scoreboard objectives add +hc.core dummy
scoreboard objectives add +hc.disconnect minecraft.custom:minecraft.leave_game scoreboard objectives add +hc.disconnect minecraft.custom:minecraft.leave_game
scoreboard objectives add +hc.locked dummy
scoreboard objectives add +hc.warp trigger
# [ WIP ] scoreboard objectives add +hc.currency dummy
# [ WIP ] scoreboard objectives add +hc.currency.add dummy
# [ WIP ] scoreboard objectives add +hc.currency.remove dummy
# remove depricated scoreboard objectives # remove depricated scoreboard objectives

View File

@ -1,19 +1,19 @@
# --- HeroGames - Copyright (c) HeroHost team (code provided by HeroChris). --- # --- HeroGames - Copyright (c) HeroHost team (code provided by HeroChris). ---
# core handling # core handling
execute as @a[tag=!hc.initialized] run function herohost:core/initialize 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
kill @e[type=item,tag=!persistent] #kill @e[type=item,tag=!persistent]
gamemode adventure @a[tag=!hc.debug] gamemode adventure @a[tag=!hc.debug]
clear KingNugget minecraft:splash_potion
# hc.debug # hc.debug
# misc
effect give @a[gamemode=!creative] saturation 1 1 true
execute as @a[scores={+hc.warp=1..}] run function herohost:misc/warp
execute as @a[tag=!hc.debug,predicate=herohost:world_y50] run function herohost:core/reset
# games # games
# [ WIP ] 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

@ -1,9 +0,0 @@
# --- HeroGames - Copyright (c) HeroHost team (code provided by HeroChris). ---
advancement revoke @s only herohost:misc/lock
title @s actionbar [{"translate":"hhost.minigame.locked","fallback":"You can't do that! This is not yours to touch."}]
playsound minecraft:block.nether_wood.break master @s ~ ~ ~ 1 1 1
# advancement related
scoreboard players add @s +hc.locked 1
execute if score @s +hc.locked matches 10.. run advancement grant @s only herohost:herohost/hard_listener

View File

@ -1,12 +0,0 @@
# --- HeroGames - Copyright (c) HeroHost team (code provided by HeroChris). ---
execute if score @s +hc.warp matches 1 in herohost:world run tp @s 5 109 50 -90 0
execute if score @s +hc.warp matches 2 in herohost:world run tp @s 50 125 -15 -118 0
# effects
execute at @s run playsound minecraft:block.amethyst_block.step record @s ~ ~ ~ 0.7 0.7
# [ WIP ] execute as @s at @s run particle minecraft:reverse_portal ~ ~1 ~ 0.5 0.5 0.5 0.1 20
# reset
scoreboard players set @s +hc.warp 0
scoreboard players enable @s +hc.warp

View File

@ -1,3 +0,0 @@
execute as @p run give @s minecraft:written_book[minecraft:item_model="minecraft:book",minecraft:custom_name='[{"translate":"hhost.minigame.book.warper.title","fallback":"Warp journal","color":"#ffb15e","italic":false}]',minecraft:lore=['[{"translate":"hhost.minigame.book.warper.lore","fallback":"Waypoint navigation","italic":false,"color":"white"}]','[""]','[{"translate":"hhost.minigame.by","fallback":"By: %s","with":[{"text":"H","color":"#fa6a52","extra":[{"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"}]}],"color":"white","italic":false}]'],minecraft:enchantment_glint_override=false,hide_additional_tooltip={},minecraft:written_book_content={title:"",author:"",pages:['[{"translate":"hhost.minigame.book.warper.intro","fallback":"Intro"},{"text":"\\n"},{"text":"\\n» ","color":"gray"},{"translate":"hhost.minigame.lobby","fallback":"Lobby","clickEvent":{"action":"run_command","value":"/trigger +hc.warp set 1"},"color":"#7EA270","underlined":true},{"text":"\\n» ","color":"gray"},{"translate":"hhost.minigame.payload","fallback":"Push the Payload","clickEvent":{"action":"run_command","value":"/trigger +hc.warp set 2"},"color":"#7970a2","underlined":true}]']}]
execute as @p run give @s minecraft:written_book[minecraft:item_model="minecraft:knowledge_book",minecraft:custom_name='[{"translate":"hhost.minigame.book.herohost.title","fallback":"%s servers","with":[{"text":"H","color":"#fa6a52","extra":[{"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"}]}],"color":"#ffb15e","italic":false}]',minecraft:lore=['[{"translate":"hhost.minigame.book.herohost.lore","fallback":"Server handbook","italic":false,"color":"white"}]','[""]','[{"translate":"hhost.minigame.by","fallback":"By: %s","with":[{"text":"H","color":"#fa6a52","extra":[{"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"}]}],"color":"white","italic":false}]'],minecraft:enchantment_glint_override=false,hide_additional_tooltip={},minecraft:written_book_content={title:"",author:"",pages:['{"translate":"hhost.minigame.book.warper.intro","fallback":"Test"}']}]
execute as @p run give @s minecraft:written_book[minecraft:item_model="minecraft:writable_book",minecraft:custom_name='[{"translate":"hhost.minigame.book.player_stats.title","fallback":"Player profile","color":"#ffb15e","italic":false}]',minecraft:lore=['[{"translate":"hhost.minigame.book.player_stats.lore","fallback":"Stats & Settings","italic":false,"color":"white"}]','[""]','[{"translate":"hhost.minigame.by","fallback":"By: %s","with":[{"text":"H","color":"#fa6a52","extra":[{"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"}]}],"color":"white","italic":false}]'],minecraft:enchantment_glint_override=false,hide_additional_tooltip={},minecraft:written_book_content={title:"",author:"",pages:['{"translate":"hhost.minigame.book.player_stats.intro","fallback":"Test"}']}]

View File

@ -1,14 +0,0 @@
{
"condition": "minecraft:entity_properties",
"predicate": {
"location": {
"position": {
"y": {
"max": 50
}
},
"dimension": "herohost:world"
}
},
"entity":"this"
}

View File

@ -1,19 +0,0 @@
{
"chat": {
"parameters": [
"sender",
"content"
],
"style": {
"color": "#b6b6b6"
},
"translation_key": "chat.type.text"
},
"narration": {
"parameters": [
"sender",
"content"
],
"translation_key": "chat.type.text.narrate"
}
}

View File

@ -1,22 +1,6 @@
{ {
"pack": { "pack": {
"pack_format": 57, "pack_format": 48,
"description": "HeroHost - HeroChris 2024" "description": "HeroHost - HeroChris 2024"
},
"filter": {
"block": [
{
"namespace": "minecraft",
"path": "advancement/.*"
},
{
"namespace": "minecraft",
"path": "loot_table/.*"
},
{
"namespace": "minecraft",
"path": "recipe/.*"
}
]
} }
} }