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. Every time you need to do something that alters the world, or objects within it (and checking not-remote). Every time you need to do something that is specific to the person-who-is-playing (rendering, input, etc). Also, never ever use Minecraft.getMinecraft() for any reason.
  2. What part of "run gradlew elcipse" did you not understand?
  3. Hmm Nothing looks off to me
  4. And the log file that says it failed to load the images?
  5. They're foxing variables. Tdoor is the name of your CLASS.
  6. Not if the part that's causing it to not work is part of a chunk of code you overrode from the BlockDoor class. And yes, you'll need to redeclare those two variables because they're private. They just hold the various icons.
  7. Did you run gradel setupDecompWorkspace and then after it was done run gradel eclipse?
  8. Fox man. Go learn Java.
  9. Probably because that particular GUI is looking for a TileEntity that doesn't exist. Might want to take a peek inside vanilla's GUI code and make sure.
  10. The way I'd do it is this: Look for the config, if it's not there, request it from the server. Server sends the config, client saves it. Now read the file and set up the GUI. Also, you can totally read and write NBT files instead of text files if you want to, and NBTs can be serialized and sent via packets super easy. They're a little trickier for people to edit, but NBTexplorer is readily available for all operating systems.
  11. The...wait for it....spoiler tag! [spoiler]Your hidden text[/spoiler]
  12. Basically it's "whatever_you_want_translated=the translation" My mod has quite a few.
  13. Double check that your file and folder names are all lower case and check for typos.
  14. If you changed the texture location string as indicated...no, it's not.
  15. And what's the error now?
  16. You might be better off extending BlockDoor instead and just overriding the pieces that need to be different.
  17. setTextureName("oomod:Tdoor") You could have looked at the registerIcons function to figure this out.
  18. No! Don't use the LanguageRegistry! D: lang files! Its an asset! So much nicer and easier to maintain! http://www.minecraftforge.net/forum/index.php/topic,16277.msg82670.html#msg82670
  19. "Should not be" is not "is not"
  20. What is the code at that line? That's why I said "Look at the ItemStack constructor"
  21. 1) Check to make sure that the block / item is not null when you pass it to the itemstack constructor. 2) Look at the ItemStack constructor at the line the crash report indicates to figure out what object might be null.
  22. That is actually irrelevant.
  23. Make sure. Also take a look at ItemStack.java to see what's going on there.

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.