Iris causing paintings/item frames to be ignored by ProjectileUtil.raycast()
And its causing me issues with a mod I'm working on, because it means my laser pointer particle doesnt get the offset needed to render above the entity when hitting a block behind it
on a block vs when it's supposed to hit a painting with iris vs when it's supposed to hit a painting without iris
5 Replies
im not even sure why iris is doing this, and I'd like to be able to fix it on my end if possible
it's registering as hitting the painting, but it's not adding the offset???
okay... it is adding the offset, but by the time the particle spawns, it treats it as if it isnt
that's
bizarre
the particle has the right Z position. is it possible that particles are always rendered behind entities, even when they're physically in front of them?
that's it
it may be because my particle is special and not a normal particle
it doesnt seem to happen with the elder guardian particle, which is handled similarly
AH
it's the render layer
that's why it doesn't work