Jump to content

Takato

Members
  • Posts

    12
  • Joined

  • Last visited

Everything posted by Takato

  1. I dunno how good this would work, I have not tested it though (don't have a 3 input furnace to test with) but it should work, I think, let you use one list for 1 to 3 items for input in any order as it sorts them into an int[][] and counts them then searches the list, then if it didn't find something(gets null) it and there are more then one input it flips item 0 and item 1 looks again then if still null and there's 3 inputs it will go and check for the other 4 possible combinations left each checking for null then returns either null or the itemstack of course doing it this way does mean you have to add to the list with the items in a certain order so they can be found for 1 or to inputs, but that should not be a problem when it searches it looks for 3 sets of values each time even if it only got 1 set, so you need to fill in the blanks with 0 as that's what it searches for if it don't get told something else. two methods http://pastebin.com/51krzJTD
  2. I have an item that when you you right click it changes some blocks, but it does all of it at once, but I want it to do slower, not just a instant change of all the blocks effected, and I don't know how to go about doing that. so any help or anything would be very appreciated. Thanks.
  3. yeah I was afraid of that.
  4. hey I just start kinda getting into custom rendering one of my items and was wondering if there was any way I could hide the players right arm when holding my item, right now I have it just covering the arm and that kinda works but it don't look to good as it looks too big, and other items I plan on it would not work with as it like that. so any way of making the right arm not show would be best as I could get the right sizes I need.
  5. thanks well right I don't know how use packets yet, but if I did I don't know what packet data I would need to send and what to do with it on the client side for it to update tell what do do to she the right mob in the mine cart spawner. I'll take a look at some tutorials when I get time but I don't know if any will teach me any more that how to send and handle the packets. so any pointers or links you can give I'll be sure to check out. thanks again.
  6. thanks well right I don't know how use packets yet, but if I did I don't know what packet data I would need to send and what to do with it on the client side for it to update tell what do do to she the right mob in the mine cart spawner. I'll take a look at some tutorials when I get time but I don't know if any will teach me any more that how to send and handle the packets. so any pointers or links you can give I'll be sure to check out. thanks again.
  7. Not sure but this might work. GameRegistry.addRecipe(new ItemStack(baconiteChestplate, 1), "T T", "TTT", "TTT", 'T', baconiteIngot);
  8. Not sure but this might work. GameRegistry.addRecipe(new ItemStack(baconiteChestplate, 1), "T T", "TTT", "TTT", 'T', baconiteIngot);
  9. Thanks that worked it spawned the test snow mans although it still showed a pig in it, is there a way I can fix that or does that have to be done with forge it self?
  10. Thanks that worked it spawned the test snow mans although it still showed a pig in it, is there a way I can fix that or does that have to be done with forge it self?
  11. I was trying to spawn an entity like for example an mine cart chest or even the mine cart mob spawner I can get them to spawn fine but I not sure how to edit the nbt data for them. I wanted to be able to spawn mine cart chests with an item in it or able to spawn minecart mob spawners that would spawn other stuff I tried to do it this way but it's not working lol I'm really new to this so I don't know how to edit the nbt the right way. EntityMinecart entitySpawnCart = EntityMinecart.createMinecart(par1World, par1, par2, par3, 4); NBTTagCompound nbt = entitySpawnCart.getEntityData(); nbt.setString("EntityId", "SnowMan"); entitySpawnCart.writeToNBT(nbt); par1World.spawnEntityInWorld(entitySpawnCart);
  12. I was trying to spawn an entity like for example an mine cart chest or even the mine cart mob spawner I can get them to spawn fine but I not sure how to edit the nbt data for them. I wanted to be able to spawn mine cart chests with an item in it or able to spawn minecart mob spawners that would spawn other stuff I tried to do it this way but it's not working lol I'm really new to this so I don't know how to edit the nbt the right way. EntityMinecart entitySpawnCart = EntityMinecart.createMinecart(par1World, par1, par2, par3, 4); NBTTagCompound nbt = entitySpawnCart.getEntityData(); nbt.setString("EntityId", "SnowMan"); entitySpawnCart.writeToNBT(nbt); par1World.spawnEntityInWorld(entitySpawnCart);
×
×
  • Create New...

Important Information

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