Started by
chublilpanda
on
Topic category: Help with Minecraft modding (Java Edition)
I'm making a mod with my girlfriend and it's a little on the dark side.
We want to make cans that when right clicked on a mob, will pick them up and turn them into cookable meat.
Anyone able to help us with this?
Player Right Clicks Entity Global Trigger
if Source Entity item in main hand = YOUR_TRAP
do Despawn Event/Target Entity
spawn gem at X Y Z YOUR_MEAT
and if you want it to be specific for every mob type,
if Source Entity item in main hand = YOUR_TRAP
AND Event/Target Entity (sub)type YOUR_MOB
do Despawn Event/Target Entity
spawn gem at X Y Z YOUR_MEAT_FOR_YOUR_MOB