fixed small issue
This commit is contained in:
@@ -34,4 +34,7 @@
|
|||||||
- added a description for sun protection enchant
|
- added a description for sun protection enchant
|
||||||
|
|
||||||
## 1.20.1-1.0.11
|
## 1.20.1-1.0.11
|
||||||
- forgot to include icarus as new dependency
|
- 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)
|
||||||
@@ -11,7 +11,7 @@ parchment_minecraft=1.20.1
|
|||||||
parchment_mappings=2023.09.03
|
parchment_mappings=2023.09.03
|
||||||
|
|
||||||
# Mod Properties
|
# Mod Properties
|
||||||
mod_version=1.20.1-1.0.11
|
mod_version=1.20.1-1.0.12
|
||||||
maven_group=com.smithy
|
maven_group=com.smithy
|
||||||
archives_base_name=TerraOriginum
|
archives_base_name=TerraOriginum
|
||||||
|
|
||||||
|
|||||||
@@ -4,6 +4,29 @@
|
|||||||
"entity_action": {
|
"entity_action": {
|
||||||
"type": "origins:if_else_list",
|
"type": "origins:if_else_list",
|
||||||
"actions": [
|
"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": {
|
"condition": {
|
||||||
"type": "origins:and",
|
"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"
|
|
||||||
}
|
|
||||||
]
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user