Started by
vanya1642
on
Topic category: Help with Minecraft modding (Java Edition)
How do I make an event after crafting an item? I need to have a 20% chance of an explosion in the 4-block workbench area after crafting an item. Please describe in detail how I can do this. I will be very grateful. Also, so that the explosion demolishes 2 hearts.
I'd be glad to help you create a procedure in MCreator that triggers a 20% chance of an explosion upon crafting an item, damaging the surrounding workbench area by 2 hearts. Here's a detailed breakdown:
1. Create a New Procedure:
2. Add the Crafting Trigger:
3. Implement the Random Chance:
4. Check for Explosion Condition:
5. Create the Explosion (if triggered):
6. Optional: Remove Crafted Item (if desired):
7. (Optional) Handle Non-Explosion Scenario:
8. Connect and Finalize:
Additional Considerations:
rgames, nice work on very helpful guide :)