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.

larsgerrits

Members
  • Joined

  • Last visited

Everything posted by larsgerrits

  1. World#getTileEntity(BlockPos)
  2. Don't use IInventory , use IItemHandler (or the default implementation: ItemStackHandler ).
  3. Or you can use the Block#canPlaceBlockAt() method to check if the Block is placeable at that location.
  4. Disable the loading screen as described in the EAQ.
  5. Last time I used Eclipse, it was Ctrl+Shift+T .
  6. If you looked at the CreativeTabs class, you can see that it now wants a ItemStack in return now.
  7. Don't use IInventory . Use IItemHandler in combination with Capabilities.
  8. No. getHeldItem*hand() returns null , not getItem() . Check if getHeldItem*hand() is not equal to null , then try to get the Item from it.
  9. What if one of the hands contains nothing? Hint: it returns null .
  10. IC2 has something called retrogen, which means it will be able to generate ores and trees after chunk generation, which may fix your issues. You just have to enable in in the configs.
  11. 1.7.10 is no longer supported by Forge.
  12. You implemented various UID methods ( getUid , getRecipeCategoryUid ), which all return something different. You should make a static variable somewhere which you reference from ALL the UID methods for the pulverizer.
  13. You'd have to copy the logic from SlotCrafting over to a custom class extending SlotItemHandler , and adapt it to the IItemHandler code.
  14. If you want to save the items in your crafting matrix, you'd have to store them in a TileEntity
  15. What do you think we can do without actual code?
  16. I might've overlooked, but I think entityIn.func_181014_aG() isn't called before that line, making it the possible issue.
  17. 1.7.10 is no longer supported by Forge.
  18. We are not going to download a random file from the internet. Either make a proper git repository, or post the related code in [nobbc] [/nobbc] tags. Also, post the complete console log.
  19. 1.7.10 is no longer supported by Forge.
  20. You are never initializing boundingBox , thus returning null from getCollisionBox .

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.