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.

Featured Replies

Posted

as in the title I'm working on a mod for 1.18.2 and am almost done iv got all my items, textures, models, and recipes made except for the de-crafting recipes. let me give some context, I'm remaking my layered armor mod where you can take armor and layer them in sorts like how real armor is done. Leather being the base, chainmail being the middle layer, and the rest of the materials are available as a sort of plate to put on the outside cover. iv got the first stage of decrafting done via the craftRemainder() property. but there is a problem with this method when expanded to the rest of the items.

N= netherite, C= chainmail, L= Leather

LCN => LC , N works just fine with LC being the craft remainder of LCN and N being the result of the crafting recipe.

if I set L as the craft remainder of LC then when constructing LCN via LC+N I get the expected result of LCN but with L left over in the crafting table that being a problematic extra. i had L set as the crafting remainder of LC because that is expected for LC => L , C spitting out C and leaving L behind. I'm not sure if there is a sort of trick I could do where for certain recipes the property craftRemainder() is set to null for LC specifically when doing certain recipes or if you can specify a recipe to leave an item behind rather than the item from the inside of a recipe leaving one behind?

I'v tried to get .setContainerItem() to work but it hasn't worked either, effectively the same result.

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.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

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.