Is there a way to replace existing elements?

Started by thedogofcoolnes on

Topic category: Help with modding (Java Edition)

Last seen on 13:16, 9. Aug 2021
Joined Aug 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Is there a way to replace existing elements?

It seems that there isn't a way to modify existing elements, such as mobs or crafting recipes. Instead, is there a way to stop the base game ones from being usable, instead restricting the player to a modded version (ie: is there a way to make the base game pig stop spawning and have a modified pig spawn instead)?

Last seen on 06:33, 1. May 2023
Joined Mar 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
on entity tick update: if is…
Sun, 08/08/2021 - 11:45

on entity tick update:

if is entity pig:

teleport entity to (0,-1,0)(this makes it die in the void and destroys its drops)

summon CustomPigEntity at <x,y,z>