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. Well for one the tutorial you were using was for 1.8, and you are using 1.10.2. If you would post your JSON model here.
  2. Probably the exact same way, where the rendering actually happens put GlStateManager.disableLighting(); GlStateManager.enableLighting();
  3. May I assume you have a TileEntity that uses these new recipes?
  4. What about disabling the lighting like you did in the TESR?
  5. By make them unbreakable you can use a different blockState and when the blockState was switch it will update, I assume you can use three different blockStates. One for the original, one for the transparent, and one for the new unbreakable version. Heck you could use different blocks to accomplish this if you wanted. public float getBlockHardness(IBlockState blockState, World worldIn, BlockPos pos) { return this.blockHardness; } Edit that method it is Deprecated but it still works, just set the returned value to -1 to make the block unbreakable. I don't know what program to use as I have not actually fiddled around with the new JSON system yet.
  6. I have a suggestion I don't know if this will work but how about you try using a different texture, aka instead of this.base = bakedTextureGetter.apply(new ResourceLocation("blocks/grass_top")); Use this.base = bakedTextureGetter.apply(new ResourceLocation("blocks/iron_block"));
  7. What is the problem exactly the TESR is rendering differently than the model?
  8. You need to post your code.
  9. I have a question first so you have any prior experience of Java if not I would suggest looking up some java tutorials to get familiarized.
  10. At the end of the first line here the semicolon needs to be a comma. OMNIPOTENTTOOL("omnipotenttool", "ItemOmnipotentTool"); OMNIINGOT("omniingot","ItemOmniIngot");
  11. Could you post the Error log please.
  12. In the OmniIngot class you are setting it's unlocalized and registry name to an empty string.
  13. Have you tried doing any debugging, like printing out what item it is currently on from the keyset (unlocalized name) into the console. To see if it is even detecting the item being there. Also are you sure that your buffPairs is gaining the items.
  14. What is it actually doing and what is it supposed to do?
  15. When you break to there instead of exiting the loop you actually start the next iteration. *edit Don't question this I was thinking of something else sorry.
  16. So your problem is happening here for(ItemStack i : player.getArmorInventoryList()) { if(i.getItem() == armor) { armorEquipped = true; break outer; } } Look at it closely.
  17. Blocks are singletons there is one instance of that block throughout the code, editing the block hardness changes the hardness of every block. If you already knew that you could just save the original hardness to a seperate variable before changing it.
  18. Did it do that in your dev environment?
  19. By chance are you messing with mob drops in anyway? Are you using any other mods?
  20. It may have something to do with your file path having Capitals and what is item.getRegistryName()?
  21. That is weird how many times have you tried? Is it possible that you got unlucky?
  22. Why not just make a modified version of renderItem?
  23. What do you mean it doesnt give any mob drops?
  24. You'll want to use the addInformation method and add what you want to be displayed to the list that is one of the parameters. Also i suggest you update to 1.10 because there wasn't much change from 1.9 to 1.10.

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.