Luke100000 / ImmersivePaintings

Minecraft mod. Use your own paintings! Drag and drop! In Multiplayer!
GNU General Public License v3.0
11 stars 16 forks source link

Compatibility with Flan mod #23

Open Bluyidark opened 1 year ago

Bluyidark commented 1 year ago

Hi! I want to request a compatibility with the Flan mod which is a claiming mod. In this mod, there's an option called "INTERACTBLOCK" where you can adjust the permission so that when other players enter your claimed area, they can't interact with the blocks such as turning item on item frame etc.

For some reason, even with "INTERACTBLOCK" option turned on, other players can still interact with the Immersive Paintings and change the image, though they can't destroy the painting itself. Can you make this mod compatible with Flan? Thanks!

Luke100000 commented 1 year ago

Because it's an entity. Can you try again blocking entities? Based on: https://github.com/Flemmli97/Flan/blob/8828275a4d6d5d40200635185fdae02fa29fb1a6/common/src/main/java/io/github/flemmli97/flan/event/EntityInteractEvents.java#L109 ANIMALINTERACT seems to be the right one.