Started by
Bloticube
on
Topic category: Feature requests and ideas for MCreator
Now in the last snapshot (first snapshot of Mcreator for 1.18.2) we can't change the code, we can only say it and explore but you can't change anything in the code. My propostion is to add an option to change the code.
MCreator 2022.1
Expand the Workspace File Browser
Look for the file you would like to modify
Make changes
Close and save
Sometimes you will be required to lock the code.
Yes but you edited your own mod, me I speak to like modify the code the minecraft like made tnt explosion bigger.
As per my understanding, my or anyone's mod is a way to modify the code (also datapacks, but at a different level). In order to capture the moment a tnt explodes fall under the 80 tick window after ignited. Since modifying the tnt directly requires advance coding, above my knowledge (it would be better to create a custom tnt). I can give you a different approach:
1. Create a standalone procedure (name it as you like)
2. Add these blocks
The command inside is:
Increase or decrease the ExplosionRadius:#b
3. Save and test
What is happening? Global trigger - waits to an explosion to occur ... if the block at that location is tnt, it will summon a new tnt which will have a creeper passenger that will explode, but with a radius of 9. You could increase or decrease that value. With no lag. But if it is a huge explosion, you might see a significant lag.