Skip 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.

Animefan8888

Forge Modder
  • Joined

  • Last visited

Everything posted by Animefan8888

  1. @Tschipp Under what conditions are you rendering, is this for a block that your mod makes or just as a placement identifier?
  2. public class ItemExample extends Item { private int burnTime; // This is a field/variable created in a class not a local field/varaible. // You should take an int into your constructor that allows that this field is set to. // And then override getItemBurnTime and return this value }
  3. If one works for one and another works for the other one, check if the block is opaque and use the one that works for that.
  4. Probably Your IDE should be saying that this is an error because getItemBurnTime takes an ItemStack not an int. And this is a local variable instead of a class field. This should be returned in getItemBurnTime.
  5. Its ItemBlock not itemBlock.
  6. Yes I understand, and that is why I said this.
  7. Your registerWorldChunkManager doesn't set the worldChunkMgr and it doesn't call the super which does set it. You have commented them out.
  8. Your WorldProvider classes.
  9. If you were to look at GameRegistry.addFuelHandler it would point you to Item#getItemBurnTIme which is a method you need to override in your Item class.
  10. Please don't necropost and make your own topic. This thread will be locked by a moderator later.
  11. I see you have some custom Biome(s) and Dimension(s) theses are probably what is causing it. What was the last thing you did before it crashed. And based on the crash report either the WorldProvider or the ChunkManager for your Dimension is null.
  12. Does it still print the error?
  13. You forgot the comma at the end of your parent tag.
  14. Where ever you want...anywhere in your workspace. You can make a class anywhere you want and extend or implement what ever you want.
  15. Java Creating an Implementation
  16. I'm gonna need more information than "I need help", post your code/what you have. And what you specifically need help with.
  17. Merge them all into one cap.
  18. Then to do this you will want to create a custom implementation of IRecipeFactory and read a modified recipe json that applies an enchantment or multiple enchantments. And then return an IRecipe that has the result with the enchantment. And then for the creative tab Item you need to call setHasSubtypes(true) in your Items constructor. And then override getSubItems() which will add an ItemStack that has the enchantment on it, and only adds it if the creative tab matches.
  19. Update to 1.12.2, this thread is going to be locked by a forums moderator later if your don't. 1.7.10 is not supported on this forum and 1.8.9 support is going away soon.
  20. Post your code. Also override Block#isOpaqueCube(IBlockState).
  21. You should set this to null, the @ObjectHolder annotation injects the instance after registration. You should'nt have models/ in there
  22. Update to a reccomended system. Aka use the IItemHandler capability instead of IInventory.
  23. Are you calling that method in your ModelRegistryEvent for your item?

Important Information

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

Account

Navigation

Search

Search

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.