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.

Someone Else 37

Members
  • Joined

  • Last visited

Everything posted by Someone Else 37

  1. I'm running a clean install of Forge 1.7.2-10.12.1.1061 and the associated ForgeGradle on Ubuntu 12.04, and am NOT using Eclipse or any other IDE, if that matters. Anyway, I am unable to do anything with any vanilla items because the compiler doesn't recognize the identifier "Items" and crashes. Blocks are fine, as are things based on the ore dictionary, but I can't use any items in things like crafting recipes. Here's the error spat out by the compiler shortly after Gradle prints out ":compileJava": ~/Games/Minecraft/MCP/mc172/forge1061/build/sources/java/se37/triangulum/Triangulum.java:65: cannot find symbol symbol : variable Items location: class se37.triangulum.Triangulum GameRegistry.addRecipe(ironTri, " s ", " ", "s s", 's', new ItemStack(Items.iron_ingot)); ^ 1 error And here's the entire base class for my mod: Yes, I realize that I don't need half those imports, I'm just too lazy to go back and remove the ones I don't need because I might need them later. If I comment out that last line, everything works fine, except I can't craft the item. Note that the compiler fails upon reaching the "Items" thing, NOT the "iron_ingot" part. I've tried "Items.ingotIron", "Item.iron_ingot", "Item.ingotIron", even trying an ore dictionary recipe with "ironIngot" or "ingotIron" (both of which compiled, but didn't let me craft the item) and importing net.minecraft.item.Items, no dice. My question is this: Am I just doing something wrong, or is this actually a Forge bug? And if it is a bug, is there any other workaround? Also, where can I find a list of the internal names of all the vanilla items and blocks and things, or do I just have to blindly guess things like "Blocks.blockIron", "Blocks.ironBlock", and "Blocks.iron_block" until something works?

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.