Jump to content
View in the app

A better way to browse. Learn more.

Forge Forums

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Glados1235

Members
  • Joined

  • Last visited

  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. Glados1235 changed their profile photo
  7. Glados1235 joined the community
  8. 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!

Important Information

By using this site, you agree to our Terms of Use.

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.