Started by
honeypie_3301
on
Topic category: Help with Minecraft modding (Java Edition)
I created custom paintings in MCreator and I want my custom mob to drop a specific painting when it dies. The issue is that paintings are entities, not items, so I can’t directly drop them. What's the best approach?
The easiest option is to use a custom item to place the specific painting.
Otherwise add an nbt to the item which corresponds to your painting. It can be anything unless there is already an nbt tag for the exact paintings within minecraft? Anyway then check when a player places a painting using a global trigger and check if the item has the nbt from before. Then check whether there is enough space for your painting and place it.