Started by
poguxd
on
Topic category: Help with Minecraft modding (Java Edition)
i am making a food mod but i don't know how to get pigs to drop bacon and ham. anyone know if you can do that in mcreator?
Topic category: Help with Minecraft modding (Java Edition)
i am making a food mod but i don't know how to get pigs to drop bacon and ham. anyone know if you can do that in mcreator?
You can do it with event handler. Put there "LivingDropsEvent" event , check for the mob (for example "EntityPig") and put here code for drop item. (for example " event.entityLiving.dropItem(Items.bone, 4);")
thanks i try that
@#1 hold on which event handler and where it is? still kinda new to this program
@#1.1 Use (empty) GUI Overlay element.