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

Hi guys

 

I just want to know how does some mods to have more than 16 metadata on a block. Exemple: in ForgeMultiPart, there is more than 63 covers on the same ID: 25131:257 ...

 

Thanks for the awnsers

  • Author

Mmh that makes sense, but how can you add items with already defined NBT into the game?

The metadata you're seeing on the covers are item damages (which can be higher than 0-15). Probably what's going on is that when you place down a cover it makes the TileEntity, with data dependant on the item damage of the item used to place down the cover. So it doesn't have NBT on the item.

 

Predefined NBT can be done though, this can be specified in

getSubItems(int par1, CreativeTabs par2CreativeTabs, List par3List)

from the item class, to make NBT items appear in the Creative window. Also NBT can be given to ItemStacks in the crafting handler, to output items with NBT out of crafting recipes.

Author of PneumaticCraft, MineChess, Minesweeper Mod and Sokoban Mod. Visit www.minemaarten.com to take a look at them.

Guest
This topic is now closed to further replies.

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.