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. Either you didn't push your code to github or you didn't do what I said.
  2. Your model doesn't say your modid for the texture.
  3. This doesn't make any sense, when you hosting and playing on the same machine you should have the theoretical best connection.
  4. And this happens when you run it on a completely separate machine as well?
  5. So like Block breaking and placing latency? Then it is probably a problem with your internet.
  6. What kind of lag are we talking about?
  7. That's partially right, now you just need to pass it into the get method on your list that has the Sounds in it.
  8. Create a new Random call nextInt(listLength) and then pass the int returned from that into the get method of List/ArrayList
  9. List#get(Random#nextInt(List#size())) Or in simpler terms I assume you know how to get an Item out of a ArrayList, so you need to generate a psuedo-random number with the Random class that has a maximum of the lists length.
  10. How much code for this do you know, have you created the item, have you overrided the method that fires when the item is right clicked, do you know how to play a sound?
  11. Well if it's telling you to remove the override you don't have the right parameters look in BlockSlab they override it.
  12. Simply return true and that should work. In your GlassSlab class.
  13. You will need to override shouldSideBeRendered
  14. Forge didn't change the BlockGlass code at all. All of the code that we are looking at in the net.minecraft package is decompiled minecraft code that has been edited to be readable by the MCP team.
  15. Try using this instead. GlStateManager.tryBlendFuncSeparate(GlStateManager.SourceFactor.SRC_ALPHA, GlStateManager.DestFactor.ONE_MINUS_SRC_ALPHA, GlStateManager.SourceFactor.ONE, GlStateManager.DestFactor.ZERO); Also switch to using GLStateManager instead of direct OpenGL calls.
  16. Not exactly sure what you are trying to say, but if you look in your minecraft jar file you will see the package is net.minecraft... Forge does patch the Block class, but that doesn't mean it isn't Minecraft code. The only thing forge did was add a few fields and methods and made it implement IForgeRegistry.
  17. That's what I thought did you try what I suggested above?
  18. Posting to github will help a lot at debugging.
  19. The package is net.minecraft.block not net.minecraftforge.block It is Minecraft code, Mojang allows modding, but the only way to mod something is to interact with there code. In this case Forge provides code that you can look at, but not edit. And applies some changes though asm, and patches so you can view them.
  20. Ummm no, this should remove your error @Override public void registerItemRender(Item item, int meta, String id) { ModelLoader.setCustomModelResourceLocation(item, meta, new ModelResourceLocation(item.getRegistryName(), id)); }
  21. Minecraft code
  22. Your method has two { at the beginning.

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.