Redesign biome and update

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

View 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"
}
}

View 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"
}
}