Jump to content

DouYanC

Members
  • Posts

    16
  • Joined

  • Last visited

Converted

  • Gender
    Male
  • Location
    China
  • Personal Text
    Like to play Minecraft

Recent Profile Visitors

1239 profile views

DouYanC's Achievements

Tree Puncher

Tree Puncher (2/8)

0

Reputation

  1. How to make the same purple light as the ender dragon died?
  2. How write block Drop ? I need you to help me, thank you!
  3. 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!
  4. 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
  5. Here https://github.com/mpecc/Earea-mod
  6. register block Okay. Strange'no add block Here https://github.com/mpecc/Earea-mod Need You help me
  7. How to write 'After eating,don't The sound of hiccups want You help me
  8. You try it out setBlockBounds(0.0F, 0.0F, 0.0F, 5.0F, 5.0F, 5.0F);
  9. 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?
  10. What is setStepSound(Block.soundTypeStone); ?
×
×
  • Create New...

Important Information

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