本文整理匯總了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;
}