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. Where I put it on Pastebin like a champ. http://pastebin.com/7QLw6KQV ModItems.blacktitaniumIngot is probably what's null. But I have no idea how or why because that'll involve at least two, probably three other classes. Post (on pastebin this time) your main mod class, your common proxy, and your ModItems class.
  2. Also don't create multiple threads. > at WGHxPERNAxBEAST.TutorialMod.handlers.RecipeHandler.registerCraftingRecipes(RecipeHandler.java:21) One of your recipes passes in a null item.
  3. This is a "bug" in Eclipse. Simply click on anything in the Project Explorer again and it'll be fine. Alternatively you can edit your project's run directory to be a hardlinked rather than a programatic one. It's annoying as fuck and only occurs because of the bug and how Forge's setup points Eclipse at the run directory. Go to the Run Configurations window, find the "Arguments" tab and at the bottom, change the working directory from ${project_loc} to ${workspace_loc:MDKExample}\run
  4. Override shouldExecute() and return false when the animal is fed.
  5. Show the game's output log. The game prints all texture loading problems there. Also: Don't use event.getSide() == Side.CLIENT, use a ClientProxy class. Also also: The fuk? Use ModelLoader.setCustomModelResourceLocation(...) Also also also: Jesus H Christ on a crutch. What nonsense is this? ModItems.chain_mail.getRegistryName()
  6. ...Like registering block and item models... (Model baking is what takes up 90% of the vanilla launch time, and my experience is that adding mods adds more blocks and items and that's what takes 90% of each mod's launch time)
  7. The Biome REGISTRY field would be better, probably.
  8. 3) This is the mod developer forum. You want Support & Bug Reports next time.
  9. Have a look at Curse's API. The third thing on the page OreCruncher linked is literally the thing you want.
  10. that's a question for the developer of WorldEdit.
  11. There should be a method with a similar name (because I don't have Eclipse open and don't feel like finding it for you). Its not static, you call it on the energy storage instance itself.
  12. myEnergyStorage.writeToNBT()
  13. Color is an unsigned integer.
  14. https://github.com/Draco18s/ReasonableRealism/tree/master/src/main/java/com/draco18s/ores/enchantments
  15. Draco18s replied to a post in a topic in Site News (non-forge)
    Another problem: The last line of this post doesn't text-wrap and I have no idea why.
  16. The missing file may not be a problem. Because the blockstate failed to load (and therefor has no inventory variant) the game attempted to locate an item model file instead as a fallback (but there wasn't one of those either). Fixing the blockstate json will likely make the missing file error go away as well.
  17. ^ This is not correct. { "forge_marker": 1, "defaults": { "textures": { "all": "MODID:TEXTURE" }, "model": "block/cube_all" }, "variants": { "normal": [{ }], "inventory": [{ }] } }
  18. And...the log file that tells you about model and texture loading problems?
  19. Use the debugger. Find out why it's happening every tick instead of every 20 by examining the values at runtime.
  20. 1) Why are you storing the capability on the player and not on the item stack? 2) Why are you creating a stack tag compound and then doing jack all with it?
  21. Screen.width - 265 -> size of the rest of the screen not covered. I'm sure you can work out the rest.
  22. https://github.com/Draco18s/ReasonableRealism/blob/master/src/main/java/com/draco18s/ores/block/BlockMillstone.java#L73-L95 Lines 77 and 83 are the important ones for your usage. Most of the rest of that method is just to give an achievement.
  23. Bad modder, no cookie. https://mcforge.readthedocs.io/en/latest/gettingstarted/autoupdate/

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.