Started by
I Love Mcreator
on
Topic category: Help with Minecraft modding (Java Edition)
I need help with making a tile entity renderer for an item frame, and i want an easy way to do it, without making separate models for each block. i want to code it, but i need much help with that. if there's some thing you can import or copy or assist, it would be appreciated.
I haven't tried this myself, but the basic functions of the vanilla item frame might be a good place to start. Item frames are entities that do not move, and, on update tick, check that there's still a solid block directly behind them, (depending on their direction), and, if there isn't, despawn and drop an item. They can technically 'hold' a single item in the same way zombies and players can hold items, by displaying that item in the item frame's 'hand' in the middle of the frame.
It probably won't be the easiest thing ever, but it's certainly possible. You could also try messing around with the new display-entity commands added in the latest update.