Merge branch 'gmr-main' into cosmo-main

This commit is contained in:
Ryan
2024-01-21 16:33:42 +02:00
8 changed files with 85 additions and 3 deletions

View File

@@ -1,3 +1,4 @@
{
"java.configuration.updateBuildConfiguration": "automatic"
"java.configuration.updateBuildConfiguration": "automatic",
"java.compile.nullAnalysis.mode": "automatic"
}

View File

@@ -22,6 +22,6 @@ public class TerraOriginum implements ModInitializer {
modEnchantments.register();
ItemGroupEvents.modifyEntriesEvent(ItemGroups.TOOLS).register((content) -> content.add(umbrella.UMBRELLA));
LOGGER.info("man this Origins is gaming");
LOGGER.info("man this Origins is " + MOD_ID);
}
}

View File

@@ -2,7 +2,12 @@
"powers": [
"terraoriginum:spirit-powers/ectoplasm",
"terraoriginum:spirit-powers/ectodiff",
"terraoriginum:spirit-powers/lackofectodmg"
"terraoriginum:spirit-powers/lackofectodmg",
"terraoriginum:spirit-powers/skin",
"terraoriginum:spirit-powers/phasing1",
"terraoriginum:spirit-powers/phasing2",
"terraoriginum:spirit-powers/phasing3",
"terraoriginum:spirit-powers/undead"
],
"icon": "minecraft:air",
"order": 1001,

View File

@@ -0,0 +1,14 @@
{
"type": "origins:toggle",
"key": {
"key": "key.origins.primary_active",
"continuous": false
},
"retain_state": false,
"condition": {
"type": "origins:resource",
"resource": "terraoriginum:spirit-powers/ectoplasm",
"comparison": ">=",
"compare_to": 1
}
}

View File

@@ -0,0 +1,26 @@
{
"type": "origins:phasing",
"hidden": true,
"blacklist": true,
"render_type": "blindness",
"view_distance": 10,
"block_condition": {
"type": "origins:in_tag",
"tag": "origins:unphasable"
},
"phase_down_condition": {
"type": "origins:and",
"conditions": [
{
"type": "origins:sneaking"
},
{
"type": "origins:on_block"
}
]
},
"condition": {
"type": "origins:power_active",
"power": "terraoriginum:spirit-powers/phasing1"
}
}

View File

@@ -0,0 +1,27 @@
{
"type": "origins:action_over_time",
"interval": 20,
"hidden": true,
"entity_action": {
"type": "origins:if_else_list",
"actions": [
{
"condition": {
"type": "origins:power_active",
"power": "terraoriginum:spirit-powers/phasing1"
},
"action": {
"type": "origins:and",
"actions": [
{
"type": "origins:change_resource",
"resource": "terraoriginum:spirit-powers/ectoplasm",
"change": -7,
"operation": "add"
}
]
}
}
]
}
}

View File

@@ -0,0 +1,5 @@
{
"type": "origins:model_color",
"alpha": 0.7
}

View File

@@ -0,0 +1,4 @@
{
"type": "origins:entity_group",
"group": "undead"
}