Jump to content
Search In
  • More options...
Find results that contain...
Find results in...


  • Posts

  • Joined

  • Last visited

Everything posted by Glados1235

  1. okay so i sorta got it i added public static final LegoMold legoMold = new LegoMold(); and changed line 20 to public static final RegistryObject<Item> LEGO_MOLD = ITEMS.register("lego_mold", () -> new Item(new Item.Properties().group(LegoModItemGroup.LEGO_MOD).maxStackSize(1).containerItem(legoMold))); and now it works but instead of giving me back the mold but damaged it just gives me a air block so i assume i need to tell it what item to give?
  2. i had a feeling but i don't know how to properly fix it i know there is the .containerItem() function that i can add to the item but no matter what way i try i does not work
  3. I don't that is why I'm asking for help here as there are no tutorials or examples anywhere that help with what I'm trying to do I've been trying for a few days now to figure it out and I cant I don't know what I'm supposed to do as no one wants to help
  4. sort of i mostly know basic c# or unity code i came here to ask for help as i found barely anything on the topic of the post and i learn through examples as alot of stuff just wont make sense to my brain
  5. i know its not thats why im asking how do i do that like i said i know its the thing i need to use but how to i apply that lego_mold class to a item like the lego mold item
  6. hello! I am new to Minecraft modding and I'm modding for 1.16.4 I want to create an item that doesn't get used and takes damage during crafting (like ic2's hammer or cutters) this is the first mod I'm trying to make to learn and I prefer to learn through examples here is what I have for the item in question LEGO_MOLD or lego_mold my Item Init class https://pastebin.com/X6pjkUEi the container item class I think is correct? (followed a tutorial kiiinda know how it works but not really) https://pastebin.com/Jpwerbgy and the recipe I want to affect https://pastebin.com/dYPCxdjf I know the container class is what's needed but how do I make the LEGO_MOLD the item it's affecting? like I said I'm brand new to this and don't know much java so examples would be super helpful! and it this is in the wrong place please tell me i dont post on forms much thanks!
  • Create New...

Important Information

By using this site, you agree to our Privacy Policy.