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. I didn't say value !== 3 Did I?
  2. That just tells the server that something has changed and it needs to be saved, it may query sending the packet based on if it has been marked dirty or not.
  3. @Azazell 1.8.9 and below are no longer supported on this forum please update to receive support.
  4. No, it's totally saving them. You just aren't updating the client. You need to override getUpdatePacket, handleUpdatePacket, and two other methods I cant think of right now.
  5. Or you could just instantiate the object directly. IE RegistryEvent() Object o = new Object() Event.register(o) Obviously you could add all of the objects into a set via their constructor for the simplicity of registering. Plus ObjectHolder is broken in Java 9 and will probably not be in the 1.13 release of forge.
  6. Yes it will, it's just ridiculous. @monkeybee Just say value == 3
  7. This just sounds horrible to me. I'm not sure if that is correct, I also don't know if I am understanding it. But just in case. From the update primer.
  8. Numerical ids won't ever go away, they are and still will be used for serialization(as far as I know).
  9. Did you push all of your code to github or just your jsons? Cause we also need to see the Block class too.
  10. You need to override isFullCube or isOpaqueCube in your Blocks class.
  11. I see two options 1. Expect it to be true 2. Make a separate mod for this specific interaction that is dependent on your mod and any other mods. Or you can explain in more detail what you are trying to do with this.
  12. You need to have a Capability<?> value in order to call hasCapability. The only way to get the Capability<?> instance is to access a class from the Mod itself, or as posted above the various other ways to get it.
  13. The code will crash if the mod isn't loaded, seeing as how he would be getting the Capability from one of that mods classes, this post was so that he could find a way around that. And he has, but now he needs to know if an Event exists which as far as I know he will have to do something like Loader.isModLoaded and then only do his registration that way.
  14. Do you want to draw something like a hat on the player or do you want to change the way the player looks entirely?
  15. You don't need a TESR for this. Use the RenderPlayerEvent.Post and render your object model there. A TESR stands for TileEntitySpecialRenderer IE for Block Entities/TileEntities not the player.
  16. Modid and the textures path should be two separate parameters.
  17. You shouldn't have that colon.
  18. Subscribe to the RenderGameOverlayEvent.Chat and render what you want there. You may have to render everything including the text to get the desired effect.
  19. Did you update the mods manually? If so you may need to update the forge version that the modpack is using.
  20. Please don't necropost. This is 5 years old.
  21. You can't and shouldn't. You will have to create these manually, and you cannot use the IFluidHandler interface without a TE for a Block. You will have to create an integer property that determines the level of the liquid and create different blocks for each fluid, not always possible. This will also prevent fluid pipes from interacting with your tanks, they check if the TE has the capability.
  22. Remove this line. blockState.addCollisionBoxToList(world, pos, new AxisAlignedBB(pos), all, player, false);
  23. You don't have to, Minecraft does their rendering in the RenderGlobal class at line 1996. However you can do whatever you want for your rendering.

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.