Java 类net.minecraft.block.properties.PropertyHelper 实例源码

项目:TFC2    文件:BlockSapling.java   
protected BlockSapling(PropertyHelper ph)
{
    super(Material.PLANTS, ph);
    this.setCreativeTab(TFCTabs.TFCDecoration);
    setSoundType(SoundType.GROUND);
    this.setTickRandomly(true);
}
项目:TFC2    文件:BlockWoodSupport.java   
protected BlockWoodSupport(Material material, PropertyHelper meta)
{
    super(material, meta);
    this.setCreativeTab(TFCTabs.TFCBuilding);
    compressionBreak = true;
    this.collapseType = CollapsibleType.Structure;
    setSoundType(SoundType.WOOD);
}
项目:TFC2    文件:BlockTerra.java   
protected BlockTerra(Material material, PropertyHelper meta)
{
    super(material);
    this.META_PROP = meta;
    /*if (META_PROP != null)
        this.setDefaultState(this.getBlockState().getBaseState().withProperty(META_PROP, (Comparable)META_PROP.getAllowedValues().toArray()[0]));*/
    blockAABB = FULL_BLOCK_AABB;
}
项目:TFC2    文件:BlockLogHorizontal.java   
protected BlockLogHorizontal(Material material, PropertyHelper meta)
{
    super(material, meta);
    setSoundType(SoundType.WOOD);
    this.setCreativeTab(TFCTabs.TFCBuilding);
    this.setShowInCreative(false);
}
项目:TFC2    文件:BlockSapling.java   
protected BlockSapling(PropertyHelper ph)
{
    super(Material.PLANTS, ph);
    this.setCreativeTab(TFCTabs.TFCDecoration);
    setSoundType(SoundType.GROUND);
    this.setTickRandomly(true);
}
项目:TFC2    文件:BlockWoodSupport.java   
protected BlockWoodSupport(Material material, PropertyHelper meta)
{
    super(material, meta);
    this.setCreativeTab(TFCTabs.TFCBuilding);
    compressionBreak = true;
    this.collapseType = CollapsibleType.Structure;
    setSoundType(SoundType.WOOD);
}
项目:TFC2    文件:BlockTerra.java   
protected BlockTerra(Material material, PropertyHelper meta)
{
    super(material);
    this.META_PROP = meta;
    /*if (META_PROP != null)
        this.setDefaultState(this.getBlockState().getBaseState().withProperty(META_PROP, (Comparable)META_PROP.getAllowedValues().toArray()[0]));*/
    blockAABB = FULL_BLOCK_AABB;
}
项目:TFC2    文件:BlockLogHorizontal.java   
protected BlockLogHorizontal(Material material, PropertyHelper meta)
{
    super(material, meta);
    setSoundType(SoundType.WOOD);
    this.setCreativeTab(TFCTabs.TFCBuilding);
    this.setShowInCreative(false);
}
项目:TFC2    文件:BlockPlanks.java   
public BlockPlanks(Material m, PropertyHelper p)
{
    super(m, p);
    this.setCreativeTab(TFCTabs.TFCBuilding);
    setSoundType(SoundType.WOOD);
}
项目:TFC2    文件:BlockCollapsible.java   
public BlockCollapsible(Material m, PropertyHelper p)
{
    super(m, p);
}
项目:TFC2    文件:BlockWoodSupport2.java   
protected BlockWoodSupport2(Material material, PropertyHelper meta)
{
    super(material, meta);
}
项目:TFC2    文件:BlockLogVertical.java   
public BlockLogVertical(Material m, PropertyHelper p)
{
    super(m, p);
    this.setCreativeTab(TFCTabs.TFCBuilding);
    setSoundType(SoundType.WOOD);
}
项目:TFC2    文件:BlockGravity.java   
public BlockGravity(Material m, PropertyHelper p)
{
    super(m, p);    
}
项目:TFC2    文件:BlockPlanks.java   
public BlockPlanks(Material m, PropertyHelper p)
{
    super(m, p);
    this.setCreativeTab(TFCTabs.TFCBuilding);
    setSoundType(SoundType.WOOD);
}
项目:TFC2    文件:BlockCollapsible.java   
public BlockCollapsible(Material m, PropertyHelper p)
{
    super(m, p);
}
项目:TFC2    文件:BlockWoodSupport2.java   
protected BlockWoodSupport2(Material material, PropertyHelper meta)
{
    super(material, meta);
}
项目:TFC2    文件:BlockLogVertical.java   
public BlockLogVertical(Material m, PropertyHelper p)
{
    super(m, p);
    this.setCreativeTab(TFCTabs.TFCBuilding);
    setSoundType(SoundType.WOOD);
}
项目:TFC2    文件:BlockGravity.java   
public BlockGravity(Material m, PropertyHelper p)
{
    super(m, p);    
}