Phasing as a phantom using Origins, causes damage
ArcusMG opened this issue ยท 8 comments
Version Information
canary-mc1.19.2-0.0.7
Expected Behavior
Expected to to be able to move into solid blocks with the phantom origin, without taking damage (though you should lose some hunger).
Actual Behavior
when moving into a solid block, started taking suffocation damage.
Reproduction Steps
- load these mods:
canary
forge loader
origins for forge
and origin's library caelus - select the phantom origin when loading a world for the first time
- attempt to move into a solid block
- start suffocating
Other Information
Not sure if this is an issue on the Origins mod end or Canary. I've reported it to both. Other mods installed:
forge 43.1.47
origins-forge-1.19.2-1.5.0.6-all
caelus-forge-1.19.2-3.0.0.6
i made a kubejs server script to fix this:
ServerEvents.highPriorityData(e => {
e.addJson('kubejs:powers/phantom/suffocation_fix.json', {
hidden: true,
type: 'origins:multiple',
inwall: {
type: 'origins:invulnerability',
damage_condition: {
type: 'origins:name',
name: 'inWall'
}
},
inwall_2: {
type: 'origins:invulnerability',
damage_condition: {
type: 'origins:name',
name: 'inWall.player'
}
}
})
e.addJson('origins:origins/phantom.json', {
loading_priority: 10,
powers: [
'origins:phantomize',
'origins:translucent',
'origins:phasing',
'origins:invisibility',
'origins:burn_in_daylight',
'origins:hunger_over_time',
'origins:fragile',
'origins:phantomize_overlay',
'kubejs:phantom/suffocation_fix'
],
icon: { item: 'minecraft:phantom_membrane' },
order: 2,
impact: 3
})
})
it can absolutely be a datapack but im lazy and this issue's closed anyway
A link to the bug report for the Origins mod:
EdwinMindcraft/origins-architectury#273
for now, you can add this line mixin.entity.collisions.suffocation=false
in the config file canary.properties.
I tried changing the config file to include mixin.entity.collisions.suffocation=false
but it didn't work. Any other ideas on what to do?