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.

newboyhun

Members
  • Joined

  • Last visited

  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. newboyhun replied to ashtonr12's topic in Modder Support
    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. newboyhun replied to Moritz's topic in Modder Support
    Then resend your source with the changes so i can see what you changed.
  13. newboyhun replied to Moritz's topic in Modder Support
    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

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.