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.

Draco18s

Members
  • Joined

  • Last visited

Everything posted by Draco18s

  1. It has a different name in different versions. I think in 1.10 it's called VertexBuffer
  2. Would you be willing to explain in a little more detail? This goes against what I understood to be the whole point of an event-driven model. The code is executed on an "as needed" basis, in response to certain criteria being met. How will new chunks get decorated if this subroutine is not executed? BiomeEvent.CreateDecorator is fired when a decorator is instanciated which happens once per decorator. BiomeEvent.Decorate is fired for every chunk when the decorator.generate() is called.
  3. 1.6.4 is not supported here and has not been supported for 2 years.
  4. For this (dropping an item), no you do not. You've told like three people now that they need a custom entity and in all three cases you have been flat wrong. Stop doing this.
  5. No. Blocks take up 1 block worth of space.
  6. They're called at different times. IIRC removedByPlayer calls onBlockHarvested. onBlockHarvested is probably better for what you're doing.
  7. Closest I can recommend: https://github.com/Draco18s/Artifacts Look at the ItemArtifact class.
  8. Try using onBlockHarvested or removedByPlayer
  9. I love how Animefan had to tell you the same thing four times.
  10. Good job learning nothing.
  11. You can't. GUIChest assumes that all inventories opened with it will have 9n inventory slots.
  12. 0.0625F isn't "infinitesimally." It's 1/16th, or a whole pixel. Also you meant "smaller"
  13. Draco18s replied to a post in a topic in Modder Support
    There's also the existing loot table system which you could purpose for this.
  14. That's because you have "blocks/block"
  15. Likely you need to subscribe to one of the rendering events and draw some additional geometry in the locations you wish it to appear.
  16. "Implement an interface" is a Java thing, not a Forge thing. Ye, the interface in question is a Forge-supplied interface, but implementing it requires no special knowledge of Forge.
  17. By "slightly smaller" we mean "by 0.001 is sufficient" It will still look like a full block.
  18. Or you can point it at block/cube, block/cube_all, or block/block
  19. Short answer: no. Long answer: yes, if you update to 1.8 or later.
  20. Show the Reference.MainItems class.
  21. That seems really complicated, is there any simpler way? I've seen stuff about scheduled executor delays? There is no "simpler" way.
  22. And that is why I think passing off the init events to the proxy is stupid.
  23. Metadata is blockstate. It's just the internal representation of the blockstate (for some values). If you want to have a texture change based on an integer, you need an integer blockstate property.
  24. Oh jesus christ. You can't just do this: public static String absolutePath = preevent.getSourceFile().getAbsolutePath(); Also, "preevent" doesn't even exist in your event methods. public static String absolutePath; public void preInit(FMLPreInitializationEvent event) { absolutePath = event.getSourceFile().getAbsolutePath(); } Go learn Java.
  25. And now you know that to Override a method you should always let your IDE do it or find the method you want to override and copy it, and then never touch its signature.

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.