apace100 / origins-fabric

MIT License
177 stars 175 forks source link

Phantom suffocating in blocks (NO LITHIUM) #601

Open Shaychix opened 2 years ago

Shaychix commented 2 years ago

I'm playing on a 1.19 fabric server with the Phantom origin and whenever I go into solid blocks I start suffocating. Already checked the modpack and server folders for Lithium mod (and there is no Lithium). Anyone knows what I can do about this situation? (the modpack we use is below) modpCK

LizzieSpace commented 1 year ago

That is not an incompatibility issue dw. it's an issue on the Phantom origin itself, as it's not coded to be invulnerable to wall damage during phantomise.

Below follows the code for a fix to it by adding wall damage invulnerability whilst on phase

you can use winrar to open jar files without decompressing them

{
  "type": "origins:multiple",
  "hidden": true,
  "invulnerabilities": {
    "type": "origins:invulnerability",
    "condition": {
      "type": "origins:power_active",
      "power": "*:phantomize"
    },
    "damage_condition": {
      "type": "origins:or",
      "conditions": [
        {
          "type": "origins:name",
          "name": "inWall"
        },
        {
          "type": "origins:name",
          "name": "cramming"
        }
      ]
    }
  }
}