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. Why are you getting from and setting to the same inventory?
  2. Postfix would made more sense: you're skipping the perfectly good ID 0.
  3. Put transparency in the png image it's using as a source.
  4. Gui.DrawRect doesn't draw "beveled" rectangles (octogons). It draws...rectangles.
  5. Generally speaking, GUI images are premade textures. So you just... Create a png that looks like what you want...
  6. You also never set a registry name for your block (and item). You also should set your unlocalized name to the registry name using getRegistryName() so that your mod ID is part of the unlocalized name to avoid naming conflicts with other mods.
  7. Forge is, yes, but not Minecraft.
  8. What do you mean "rainbow"? What is your desired goal?
  9. That link (and this thread) is 2 years old. The forum changed what software it runs on. This thread is for 1.7.10 is no longer supported here.
  10. I don't think Forge will really be looking into it and answering those questions until 1.13 is final and out. They might have some ideas, based on looking at the snapshots, but no details yet.
  11. *Looks at thread title* Hmmm
  12. Yes. Because the ternary operation for 4 linear values (that map neatly to an index) is... Oh you said it before I did.
  13. Post your model. Likely you want to use "parent": "block/cube_column" or "parent": "block/orientable"
  14. You are adding new buttons every frame. 120 new buttons every second your gui is open. You want to update the buttons, then hold a reference TO the button and update it, don't create a new one.
  15. If you want to use textures like the log, perhaps you should look at the log?
  16. The field lookup is what's slow. Do that once, cache it. Actually retrieving the value is pretty fast.
  17. Is it public? Change it. Is it private? Use reflection.
  18. I don't think MC is set up to do that, at least, not easily. None of vanilla's guis close in this manner, it would be jarring for the player to have that happen.
  19. Gotcha
  20. Right click -> Refactor -> Rename
  21. True, it hasn't been. XCompWiz has been busy with his actual job.

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.