fixed small issue

This commit is contained in:
Gæmer
2025-05-15 15:52:05 +02:00
parent fc5101ade1
commit d4c8258f5e
3 changed files with 28 additions and 25 deletions

View File

@@ -35,3 +35,6 @@
## 1.20.1-1.0.11
- forgot to include icarus as new dependency
## 1.20.1-1.0.12
- fixed poorly written conditions for ectoplasm drain (still poorly written but works correctly now)

View File

@@ -11,7 +11,7 @@ parchment_minecraft=1.20.1
parchment_mappings=2023.09.03
# Mod Properties
mod_version=1.20.1-1.0.11
mod_version=1.20.1-1.0.12
maven_group=com.smithy
archives_base_name=TerraOriginum

View File

@@ -4,6 +4,29 @@
"entity_action": {
"type": "origins:if_else_list",
"actions": [
{
"condition": {
"type": "origins:or",
"conditions": [
{
"type": "origins:brightness",
"comparison": "<=",
"compare_to": 0.17948718
}
]
},
"action": {
"type": "origins:and",
"actions": [
{
"type": "origins:change_resource",
"resource": "terraoriginum:spirit-powers/ectoplasm",
"change": 4,
"operation": "add"
}
]
}
},
{
"condition": {
"type": "origins:and",
@@ -111,29 +134,6 @@
}
]
}
},
{
"condition": {
"type": "origins:or",
"conditions": [
{
"type": "origins:brightness",
"comparison": "<=",
"compare_to": 0.17948718
}
]
},
"action": {
"type": "origins:and",
"actions": [
{
"type": "origins:change_resource",
"resource": "terraoriginum:spirit-powers/ectoplasm",
"change": 4,
"operation": "add"
}
]
}
}
]
}