Origins (Fabric)

Origins (Fabric)

15M Downloads

Phantom suffocating in blocks (NO LITHIUM)

Shaychix opened this issue ยท 1 comments

commented

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

commented

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

  • open the mod jar, go to data\origins\powers
  • create a file called phase_fix.json there with the json below:
  • then go to ..\origins\phantom.json and add origins:phase_fix to the powers list
  • then bam, should be fixed!
{
  "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"
        }
      ]
    }
  }
}