本文整理汇总了Java中net.minecraft.block.state.BlockState类的典型用法代码示例。如果您正苦于以下问题:Java BlockState类的具体用法?Java BlockState怎么用?Java BlockState使用的例子?那么, 这里精选的类代码示例或许可以为您提供帮助。
BlockState类属于net.minecraft.block.state包,在下文中一共展示了BlockState类的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Java代码示例。
示例1: createBlockState
import net.minecraft.block.state.BlockState; //导入依赖的package包/类
protected BlockState createBlockState()
{
return this.isDouble() ? new BlockState(this, new IProperty[] {VARIANT}): new BlockState(this, new IProperty[] {HALF, VARIANT});
}
示例2: createBlockState
import net.minecraft.block.state.BlockState; //导入依赖的package包/类
protected BlockState createBlockState()
{
return new BlockState(this, new IProperty[] {FACING, HALF, SHAPE});
}
示例3: createBlockState
import net.minecraft.block.state.BlockState; //导入依赖的package包/类
protected BlockState createBlockState()
{
return new BlockState(this, new IProperty[] {CONTENTS, LEGACY_DATA});
}
示例4: createBlockState
import net.minecraft.block.state.BlockState; //导入依赖的package包/类
protected BlockState createBlockState()
{
return new BlockState(this, new IProperty[] {FACING, EYE});
}
示例5: createBlockState
import net.minecraft.block.state.BlockState; //导入依赖的package包/类
protected BlockState createBlockState()
{
return new BlockState(this, new IProperty[] {MOISTURE});
}
示例6: createBlockState
import net.minecraft.block.state.BlockState; //导入依赖的package包/类
protected BlockState createBlockState()
{
return new BlockState(this, new IProperty[] {NORTH, EAST, WEST, SOUTH});
}
示例7: createBlockState
import net.minecraft.block.state.BlockState; //导入依赖的package包/类
protected BlockState createBlockState()
{
return new BlockState(this, new IProperty[] {WET});
}
示例8: createBlockState
import net.minecraft.block.state.BlockState; //导入依赖的package包/类
protected BlockState createBlockState()
{
return new BlockState(this, new IProperty[] {AXIS});
}
示例9: createBlockState
import net.minecraft.block.state.BlockState; //导入依赖的package包/类
protected BlockState createBlockState()
{
return new BlockState(this, new IProperty[] {SNOWY});
}
示例10: createBlockState
import net.minecraft.block.state.BlockState; //导入依赖的package包/类
protected BlockState createBlockState()
{
return new BlockState(this, new IProperty[] {FACING});
}
示例11: createBlockState
import net.minecraft.block.state.BlockState; //导入依赖的package包/类
protected BlockState createBlockState()
{
return new BlockState(this, new IProperty[] {FACING, PART, OCCUPIED});
}
示例12: createBlockState
import net.minecraft.block.state.BlockState; //导入依赖的package包/类
protected BlockState createBlockState()
{
return new BlockState(this, new IProperty[] {VARIANT});
}
示例13: createBlockState
import net.minecraft.block.state.BlockState; //导入依赖的package包/类
protected BlockState createBlockState()
{
return new BlockState(this, new IProperty[] {POWERED, SUSPENDED, ATTACHED, DISARMED, NORTH, EAST, WEST, SOUTH});
}
示例14: createBlockState
import net.minecraft.block.state.BlockState; //导入依赖的package包/类
protected BlockState createBlockState()
{
return new BlockState(this, new IProperty[] {UP, NORTH, EAST, SOUTH, WEST});
}
示例15: getBlockState
import net.minecraft.block.state.BlockState; //导入依赖的package包/类
public BlockState getBlockState()
{
return this.blockState;
}