Jump to content

skymmer

Members
  • Posts

    6
  • Joined

  • Last visited

Converted

  • Gender
    Undisclosed
  • Personal Text
    I am new!

skymmer's Achievements

Tree Puncher

Tree Puncher (2/8)

0

Reputation

  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.
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.