Posted March 14, 20223 yr I want one of my items to take damage when crafted with (like the Forge Hammer or Cutters from IC2, for example). I was under the impression that this would be relatively simple considering how often it seems to appear in mods but apparently I am mistaken. I thought it would just involve making a custom class of items that would stay in the grid and take a set amount of damage when crafted with, but I've been told by a member of a modding community I am in that I need to deal with something called a recipe serializer. I wouldn't normally post here, but I haven't been able to find any modern documentation about it.
March 14, 20223 yr You can simply override hasContainerItem and return a damaged item in getContainerItem, the names probably had changed. If you can't figure out yourself look for the previous posts in the forum, there is a lot of them. Edited March 14, 20223 yr by poopoodice
March 16, 20223 yr Author Would you be able to point me in the direction of a 1.18 post about this? I haven't been able to find anything modern regarding this topic and I'm going a bit crazy haha
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.