remove things from original minecraft

Started by DallmannRafa on

Topic category: Help with Minecraft modding (Java Edition)

Active 4 years ago
Joined Apr 2020
Points:
622

User statistics:

  • Modifications: 0
  • Forum topics: 2
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 1
remove things from original minecraft

 

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?

Active 10 months ago
Joined Jun 2015
Points:
1275

User statistics:

  • Modifications: 10
  • Forum topics: 32
  • Wiki pages: 0
  • MCreator plugins: 1
  • Comments: 544
To recreate health and…
Fri, 05/01/2020 - 18:50

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)

Active 4 years ago
Joined Apr 2020
Points:
622

User statistics:

  • Modifications: 0
  • Forum topics: 2
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 1
  thanks man, thanks for the…
Fri, 05/01/2020 - 21:25

 

thanks man, thanks for the explanation!!