Redesign biome and update
- Updates to 1.21.3 - Biome changes with correct colours
This commit is contained in:
42
data/herohost/advancement/tnt/get_tnt.json
Normal file
42
data/herohost/advancement/tnt/get_tnt.json
Normal file
@ -0,0 +1,42 @@
|
||||
{
|
||||
"criteria": {
|
||||
"requirement": {
|
||||
"trigger": "minecraft:entity_hurt_player",
|
||||
"conditions": {
|
||||
"player": [
|
||||
{
|
||||
"condition": "minecraft:inverted",
|
||||
"term": {
|
||||
"condition": "minecraft:entity_properties",
|
||||
"entity": "this",
|
||||
"predicate": {
|
||||
"equipment": {
|
||||
"head": {
|
||||
"items": [
|
||||
"minecraft:tnt"
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
],
|
||||
"damage": {
|
||||
"source_entity": {
|
||||
"type": "minecraft:player",
|
||||
"equipment": {
|
||||
"head": {
|
||||
"items": [
|
||||
"minecraft:tnt"
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"rewards": {
|
||||
"function": "herohost:tnt/get_tnt"
|
||||
}
|
||||
}
|
57
data/herohost/advancement/tnt/give_tnt.json
Normal file
57
data/herohost/advancement/tnt/give_tnt.json
Normal file
@ -0,0 +1,57 @@
|
||||
{
|
||||
"criteria": {
|
||||
"requirement": {
|
||||
"trigger": "minecraft:player_hurt_entity",
|
||||
"conditions": {
|
||||
"player": [
|
||||
{
|
||||
"condition": "minecraft:entity_properties",
|
||||
"entity": "this",
|
||||
"predicate": {
|
||||
"equipment": {
|
||||
"head": {
|
||||
"items": [
|
||||
"minecraft:tnt"
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
],
|
||||
"entity": [
|
||||
{
|
||||
"condition": "minecraft:all_of",
|
||||
"terms": [
|
||||
{
|
||||
"condition": "minecraft:inverted",
|
||||
"term": {
|
||||
"condition": "minecraft:entity_properties",
|
||||
"entity": "this",
|
||||
"predicate": {
|
||||
"equipment": {
|
||||
"head": {
|
||||
"items": [
|
||||
"minecraft:tnt"
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"condition": "minecraft:entity_properties",
|
||||
"entity": "this",
|
||||
"predicate": {
|
||||
"type": "minecraft:player"
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
},
|
||||
"rewards": {
|
||||
"function": "herohost:tnt/give_tnt"
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user