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.

skymmer

Members
  • Joined

  • Last visited

Everything posted by skymmer

  1. Sorry if this is a noob-ish question, but how would I do so?
  2. I'm trying to find a way to get all of the vanilla items and blocks in a smelting recipe for a custom furnace. The custom smelter I have takes the item/block and stores it inside of a different item by NBT for later use. I think that writing out Items.whatever or Blocks.whatever and storing that in an array would be redundant, so I'm trying to look for a way around that.
  3. Thanks for the help, but I tried printing GameData.getBlockRegistry() to console and I got "cpw.mods.fml.common.registry.FMLControlledNamespacedRegistry@13437c7c". Any idea what that means? Edit: Am I just doing this incorrectly? And would you know how to put the blocks/items in an array?
  4. Hello everyone, Quick question, is there somewhere in the Minecraft src where I could find an array containing all items and all blocks? I'd like to use something like it for a feature of my mod, so I don't have to copy and paste the same thing over and over with minimal changes. Thank you in advance for any help you can give me.
  5. Hey all, I've been trying to make a dimension in 1.7.2, and I'm running into a little trouble while referencing a certain class. I'm supposed use the "ModLoader" class from net.minecraft.src.ModLoader, but it doesn't appear to be here in the recommended build of forge for 1.7.2 Any ideas? SRC: public void onEntityCollidedWithBlock(World world, int x, int y, int z, Entity entity) { if(entity.ridingEntity == null && entity.riddenByEntity == null && entity instanceof EntityPlayerMP) { EntityPlayerMP player = (EntityPlayerMP) entity; ModLoader.getMinecraftServerInstance(); // syntax highlighting here because the ModLoader class doesn't exist } } Any and all help will be appreciated. Thanks.
  6. Hey all, I'm trying to follow a tutorial to add a custom furnace into the game, and it uses the function "world.getBlockId", which is now defunct as far as I can tell. Are there any other ways to do this in 1.7.2? Link to the video guide I'm following, around the point it's used : Thanks in advance for any help.

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.