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.

NukolLodda

Members
  • Joined

  • Last visited

  1. NukolLodda changed their profile photo
  2. So I'm new to Minecraft modding and I'm not too sure how to make custom shapeless recipes. Basically I have a machine called the alloy furnace with 3 inputs, but some recipes involving it only requires 2 inputs and as a result I want to make it shapeless. Along with that, the 3 input slots don't have any differences between them so it shouldn't matter which slot you put the item in. However, I want to make it so the recipes aren't hardcoded into my mod so instead json files are used instead. However I've yet to figure out how to allow for shapeless recipes. This is the code I've thought of so far, I'd imagine this probably looks like amateur stuff but this really is the best my almost deep fried brain can think of boolean hasIng = false; if (recipe.isPresent()) { for (int i = 0; i < entity.itemHandler.getSlots(); i++) { for (int j = 0; j < recipe.get().getIngredients().size(); j++) { if (entity.itemHandler.getStackInSlot(i) .equals(recipe.get().getIngredients().get(j).getItems()[0])) { hasIng = true; } } } } so if anyone can explain this to me, I'd really appreciate it.

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.