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.
+ Save this method
Example 1
Project: harshencastle   File: BloodBlock.java   View Source Code 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   View Source Code 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   View Source Code 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);
}