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.

DouYanC

Members
  • Joined

  • Last visited

  1. How to make the same purple light as the ender dragon died?
  2. How write block Drop ?
  3. How write block Drop ? I need you to help me, thank you!
  4. public class earea { SiliconOre SiliconOre = new SiliconOre(); public static Item item; @EventHandler public void preInit(FMLPreInitializationEvent event) { ForgeRegistries.BLOCKS.register(SiliconOre); item = new ItemBlock(SiliconOre).setRegistryName(SiliconOre.getRegistryName()); ForgeRegistries.ITEMS.register(item); } } public class SiliconOre extends Block{ public SiliconOre() { super(Material.GROUND); setSoundType(SoundType.WOOD); setRegistryName("cccc"); setHarvestLevel("pickaxe", 4); setCreativeTab(CreativeTabs.BUILDING_BLOCKS); setHardness(2.0F); setResistance(10.0F); setLightLevel(0.0F); setUnlocalizedName("cccc"); setLightOpacity(0); } } Successful, thank you!
  5. public void PreInit(FMLPreInitializationEvent event) { ForgeRegistries.BLOCKS.register(new SiliconOre()); } public class SiliconOre extends Block{ public SiliconOre (){ super(Material.ROCK); setHardness(5.0F); setResistance(15.0F); setHarvestLevel("pickaxe", 2); setLightLevel(1.0F); setRegistryName("siliconore"); } } register block Okay,after no add block
  6. How do you get it ?
  7. Here https://github.com/mpecc/Earea-mod
  8. register block Okay. Strange'no add block Here https://github.com/mpecc/Earea-mod Need You help me
  9. How to write 'After eating,don't The sound of hiccups want You help me
  10. You try it out setBlockBounds(0.0F, 0.0F, 0.0F, 5.0F, 5.0F, 5.0F);
  11. public Item getItemDropped(int par1, Random par2Random, int par3) { return Item.getItemFromBlock(Blocks.diamond_block); return Item.getItemFromBlock(Blocks.bed); return Item.getItemFromBlock(Blocks.cake); } no can add more is it?
  12. What is setStepSound(Block.soundTypeStone); ?

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.