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. No, you could create a Map<BlockPos, Float/Integer> which will map a x,y,z to a health value.
  2. Two things, you never load the IItemHandler capability with your ItemStacks. And second of all you need to pass your IItemHandler ItemStacks to your block when you place it.
  3. Could you imagine supporting all of the versions of forge? Theres a lot of them, and thats a lot of changes. The minecraft forums would support it.
  4. MinecraftForge.ORE_GEN_BUS.register(target);
  5. Subscribe to the OreGenEvent.GenerateMineable and set the result to deny. And create your own world generator to generate the ores and register it with GameRegistry.registerWorldGenerator
  6. Is the model going to be animated? If not dont use a TESR use the normal model system, forge adds support for obj models.
  7. Entity can be cast to EntityLivingBase or EntityPlayer, which has those methods. Also you should use an instanceof check.
  8. Returns an Entity, getHeldItemMainHand is a method in EntityLivingBase.
  9. Your comparison will still not be true. This would still work...that method still exists.
  10. You put vertexes into it and that creates a face, which is assigned a texture via the points you specify as floats as a 0-1 scale by the bound texture. Which is bound from Minecraft.getMinecraft().getRenderManager().renderEngine.bindTexture(resource); Or an instance of RenderManager/TextureManager that you are provided. You call BufferBuilder.begin(VertextFormat) then bufferbuilder.pos().tex().normal().endVertex() for all of the vertexes you need. Then finally call tesselator.draw. If you need an instance of these, use Tesselator.getInstance() and then to get the BufferBuilder instance use Tesselator#getBuffer().
  11. If you are dead set on this idea you will have to create a BlockPos to int Map kinda thing and save it to the world yourself.
  12. Yes that is the appropriate way. Create a Gui class that extends the one the Players inventory uses. You dont need to make packets unless you wanna do something special. Minecraft already has packets for inventories.
  13. Those are all handled automatically with the vanilla stuff.
  14. Its in the libs folder in the build folder
  15. I didn't see this message. Could you post a picture of your folder?
  16. I assume the tutorial also had you make an ArrayList of Items just iterate through that list in the ModelRegistryEvent and call ModelLoader.setCustomModelResourceLocation with the proper parameters. Just like you would in the Item class. It looks like you compiled the mod, you can't compile the mod using eclipse, you have to use the gradle file to build your mod.
  17. Oh, my bad I misread that in the log.
  18. Well you should report this on their CurseForge Issue tracker. Assuming you have the most up to date version of the mod. There also should have been an Entity called Allegé.
  19. Read the docs.

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.