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. See this bit? This is the troublesome bit.
  2. So you changed the toml file from "examplemod" to "testmod" Did you remove the Java code for the example mod?
  3. The only reason you'd want two methods is if you plan to pass strings sometimes and resource locations other times, but you aren't planning on doing that, are you? (In terms of different kinds of registries, its already a generic method that supports everything you need)
  4. By the way, I don't know why you typed out two helper functions instead of doing this: event.getRegistry().registerAll( new Item(new Item.Properties()).setRegistryName(new ResourceLocation(CraftOfTheWildMod.MODID,"travelers_sword")) ); If you really really wanted to avoid doing setRegistryName and new Resource location a bunch, then only one helper: return entry.setRegistryName(new ResourceLocation(CraftOfTheWildMod.MODID, name));
  5. Not really. The main reason "all the good mods aren't available on the newest version" is because people move on. No one wants to spend all of their time supporting something they "finished." (Or in some rare cases, like myself, I'm prevented from updating due to a missing feature in Forge that I'm having PR'd as well as trying to update Custom Ore Gen, which is taking a while as I don't understand a lot of the underlying systems)
  6. 1.12 is no longer supported here. Update.
  7. Step 0: Open an image editing program and draw what you want your 18 pixel sword to look like in the inventory.
  8. Nope. Which is why I don't bother replying to his threads any more.
  9. https://github.com/MinecraftForge/MinecraftForge/issues
  10. Unless your plan is to hack the gui systems to draw your items with more pixels, I suspect that nothing will do what you want.
  11. Inventory squares are always the same size. You can't just "add a few extra pixels" and make it work. The image is going to get scaled down to fit within that space and that space is only 32x32 on screen (actually, its 16x16, but the default UI size is scaled up by a factor of 2 with a intrapixel mode of "nearest").
  12. Ore generators are FEATURES. You can look at the vanilla code for how it creates its own oregen.
  13. Well, what class does your block use? You showed your item registration, but not your block code.
  14. 1) 1.12 is no longer supported here 2) I WONDER WHAT THIS DOES
  15. This looks pretty self explanatory to me.
  16. You didn't set your block (in the java code) to be transparent.
  17. Don't use non-power-of-2 textures.
  18. "Missing Model" us a generic failure. There is always an underlying error printed below it. Show us that.
  19. ...You do know that there's a game rule that already covers this, right? If you don't have the recipe in your recipe book, you can't craft it when the rule is enabled.
  20. I have other issues (such as trying to highlight multiple lines so that when I do a delete, the "head" of the line ends up in the right spot), but the backspace thing is common to nearly all IDEs I've ever used.
  21. You're (hopefully) a programmer. Write some code to do it for you.

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.