Fabrication

Fabrication

305k Downloads

Inanimate invisability has unwanted effect with item frames

SFort opened this issue ยท 5 comments

commented

Normally when an item frame is invisible the item inside it would still be visable
this is not the case when inanimates_can_be_invisible is enabled

without mod with mod
screenshot screenshot
commented

just in case it's a bug invisibility_splash_on_inanimates doesn't work on armor stands

commented

Armor stands are technically living entities. I'll add special handling.

commented

Wasn't aware item frames had custom handling for the Invisible flag.

commented

This should be compatible with basically everything; it uses ASM to scan entity renderer classes and checks if they invoke isInvisible.

image

commented

Didn't know this was possible in java, neat. ty