Started by
rainbowsocks
on
Topic category: Help with MCreator software
when i deleted a mod element the entire mod didnt work, i dont know why and i wanna know if its fix in the latest update,cuz when i made the mod that just said no to mcreator i was on an old version of mcreator, so now i wanna know if its fixed before i remove anything
If your mod element is referenced by other elements, you need to cleanup the references
@klemen what does that mean?
An example would be if you made a sword, then made a crafting recipe for the sword, then deleted the sword. You would need to go in and change the crafting recipe to give anything other than the deleted sword.
This also happens a lot with procedures that work with items.
@catnip so if i havean enchantment i wanna remove,how do i remove it without risking my mod not to work
You should be able to see any other mod elements depend on the enchantment when you go to delete it. Then, if there are any elements that depend on it, you just need to go in to those elements and remove any reference to the enchantment. This would likely be procedure blocks that add/check for the enchantment. If there are no other mod elements that reference the enchantment, you can delete it with no problem. If there are other mod elements, you can still delete the enchantment, just the other mod elements will show an error until you go in and remove references to the enchantment.