Jump 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. You need to use packets to synchronize the value (known on the server) to the client (so your gui knows what it is)
  2. Is it your block? Use block states
  3. Any block update that also tells the client to re-render the block (not all block updates do)
  4. Whenever the chunk needs a rerender. Note that I don't mean a render frame, but when the chunk "model" itself is out of date and needs to be refreshed.
  5. The "transform" tag applies to models. Blockstate files are not models.
  6. That second line runs immediately after the first. What do you expect to happen?
  7. Post this class
  8. https://github.com/Draco18s/ReasonableRealism/blob/1.12.1/src/main/java/com/draco18s/industry/client/gui/GuiContainerFilter.java#L165 Take a look at what I did
  9. Look at slabs and fence posts. isTopSolid and isSideSolid
  10. Buttons do this already. Just make that area a button.
  11. Happens automatically unless a method or class signature changes.
  12. Ok fine It's also used for the summon command Which is a string And strings is how you serialize things Also, the summon command uses JSON format. So no, you're still wrong.
  13. http://mcforge.readthedocs.io/en/latest/events/intro/
  14. No its not. NBT is for serializing to disk. It's like JSON but more compressed. Stop using NBT.
  15. Don't bother. You can run the game in Eclipse and you don't need to validate the "compiled jar." And there's a reason OptiFine is not compatible with Forge.
  16. Or use EntityPlayer.openGui
  17. Remove the List<ItemStack> Make it gone. You do not need it. Take it out. The ItemStackHandler contains its own List
  18. Not sure off the top of my head.
  19. Your loot table load event if-check will (just about) always be true. You're checking if(not-A || is-B)
  20. When is init called relative to your item constructors? If you answer "I don't know" then you're doing everything wrong.
  21. Ok, so the process goes like this: Fork Download your fork (use a proper git program, GitHub desktop works, but is not the greatest) Setup Write code GenPatches Push (the patches only!) to your fork. If you correctly forked and downloaded, Git will see the correct files that have been modified. Create Pull Request I have no idea what you are looking at. Not a clue. I also don't know what you mean by "your changes have no effect." No effect where?
  22. Show your usage code.
  23. From what I remember doing something similar, essentially instantly. I created a "minecart rail bridge" block that wasn't solid unless the player was crouching. That would change from solid to not instantaneously when you stopped crouching.

Important Information

By using this site, you agree to our Terms of Use.

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.