Started by
DallmannRafa
on
Topic category: Help with Minecraft modding (Java Edition)
hello, in the creation of my mod I need to disable some things from the original minecraft, some of the things are the life bar and the hunger bar, because I intend to create others, I need to remove all the swords and armor so that they cannot get them, only the ones I create. Can anyone help me with this?
To recreate health and hunger bars, you need a texture pack.
To prevent anyone from creating vanilla things, if they are blocks, just create a procedure that triggers "on world tick" and check if block at x, y, z is the block you want to remove, then replace it by air. (could be laggy) and for items and blocks that can be crafted, re-create the exact same recipe, but set air as result (won't work for other recipes that crafting tables and furnaces)
thanks man, thanks for the explanation!!