Java Code Examples for net.minecraft.block.material.Material.CARPET

The following are Jave code examples for showing how to use CARPET of the net.minecraft.block.material.Material class. You can vote up the examples you like. Your votes will be used in our system to get more good examples.
Example 1
Project: harshencastle   File: BloodBlock.java   Source Code and License Vote up 5 votes
public BloodBlock() 
{
	 super(Material.CARPET);
	 setUnlocalizedName("blood_block");
     setRegistryName("blood_block");
     blockSoundType = blockSoundType.SLIME;
     setTickRandomly(true);
}
 
Example 2
Project: Backmemed   File: BlockCarpet.java   Source Code and License Vote up 5 votes
protected BlockCarpet()
{
    super(Material.CARPET);
    this.setDefaultState(this.blockState.getBaseState().withProperty(COLOR, EnumDyeColor.WHITE));
    this.setTickRandomly(true);
    this.setCreativeTab(CreativeTabs.DECORATIONS);
}
 
Example 3
Project: CustomWorldGen   File: BlockCarpet.java   Source Code and License Vote up 5 votes
protected BlockCarpet()
{
    super(Material.CARPET);
    this.setDefaultState(this.blockState.getBaseState().withProperty(COLOR, EnumDyeColor.WHITE));
    this.setTickRandomly(true);
    this.setCreativeTab(CreativeTabs.DECORATIONS);
}