Jump to content

newboyhun

Members
  • Posts

    43
  • Joined

  • Last visited

Converted

  • Gender
    Undisclosed
  • Personal Text
    I am new!

newboyhun's Achievements

Tree Puncher

Tree Puncher (2/8)

4

Reputation

  1. Second parameter should be an Object[].
  2. ..... Do it as you did at zCoord or xCoord ....
  3. Check this:http://www.minecraftforge.net/wiki/Multiple_Pass_Render_Blocks
  4. Eh? Can you rewrite your question,because i can't understand it. But if you want to use a potion in a crafting recipe,then you need to make the recipe with ItemStack,like: new ItemStack(Item.potion,1,damage) Example for Potion of Regeneration: new ItemStack(Item.potion,1,8193)
  5. I think you will need to make a custom renderer for it.
  6. For registering name,i have used: LanguageRegistry.instance().addStringLocalization(((BlockStoneSlabs)YourSingleSlab).getFullSlabName(0)+".name", "Your Slab");
  7. In the loop you aren't using the elements,you should: letters But for understanding from minecraft is a really terrible thing,because of the variable names. You should start making you own games,like a simple top-down shooter games,platform games,pacman any easy game do it. And i recommend you LWJGL and Slick2D
  8. It's because of the slab is an itemblock,you need a custom itemblock for it,but a more simple thing is to put a line in the FMLPostInitializationEvent : Item.itemsList[YourSingleSlab.blockID] = (new ItemSlab(YourSingleSlab.blockID - 256, (BlockHalfSlab)YourSingleSlab, (BlockHalfSlab)YourDoubleSlab, false)).setItemName("YourSlabName");
  9. Are you new to Java? =) Yes with enum you can do that,but if you want the same thing to do when it starts with 'X' letter,then you just make an array,or an arraylist,any collection do it,then loop it through.
  10. Hi all! I'm trying to increase the sea level and ground level,i already achieved this (to 128 from 64) BUT,the whole world is flat (except lakes,oceans etc). I have edited the ChunkProviderGenerator,i think the problem should be arond the noise generators,is there anyway to fix this?
  11. Oh sorry did you made the field for the movedEntity? private EntityLiving movedEntity;
  12. Then resend your source with the changes so i can see what you changed.
  13. change getCurrentEquippedItem() with inventory.getCurrentItem()
  14. It's because the minecraft uses metadata to checking if it's on bottom or on top. You can only use the first 8 metadata because the last 8 metadata is the top one. You will need two block for wool,one for the first 8 ,one for the last 8.
  15. Probably you shouldn't register the gui into the CommonProxy,you need a seperate GuiHandler http://www.minecraftforge.net/wiki/Containers_and_GUIs For opening gui i'm using : par5EntityPlayer.openGui(YourMod.instance, YourGuiID, par1World, par2, par3, par4); par2,par3,par4 are coordinates: x,y,z
×
×
  • Create New...

Important Information

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