当前位置: 首页>>代码示例>>Java>>正文


Java BlockStateContainer类代码示例

本文整理汇总了Java中net.minecraft.block.state.BlockStateContainer的典型用法代码示例。如果您正苦于以下问题:Java BlockStateContainer类的具体用法?Java BlockStateContainer怎么用?Java BlockStateContainer使用的例子?那么恭喜您, 这里精选的类代码示例或许可以为您提供帮助。


BlockStateContainer类属于net.minecraft.block.state包,在下文中一共展示了BlockStateContainer类的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Java代码示例。

示例1: createBlockState

import net.minecraft.block.state.BlockStateContainer; //导入依赖的package包/类
@Override
protected BlockStateContainer createBlockState() {
	return new BlockStateContainer(this, FACING);
}
 
开发者ID:astronautlabs,项目名称:rezolve,代码行数:5,代码来源:DatabaseServerBlock.java

示例2: createBlockState

import net.minecraft.block.state.BlockStateContainer; //导入依赖的package包/类
protected BlockStateContainer createBlockState()
{
    return new BlockStateContainer(this, new IProperty[] {ROTATION});
}
 
开发者ID:sudofox,项目名称:Backmemed,代码行数:5,代码来源:BlockStandingSign.java

示例3: getStateContainer

import net.minecraft.block.state.BlockStateContainer; //导入依赖的package包/类
public BlockStateContainer getStateContainer()
{
    return this.stateContainer;
}
 
开发者ID:F1r3w477,项目名称:CustomWorldGen,代码行数:5,代码来源:Multipart.java

示例4: createBlockState

import net.minecraft.block.state.BlockStateContainer; //导入依赖的package包/类
@Override
public BlockStateContainer createBlockState() {
	return new BlockStateContainer(this, VARIANT, COOKED);
}
 
开发者ID:elytra,项目名称:ThermionicsWorld,代码行数:5,代码来源:BlockMeatEdible.java

示例5: createBlockState

import net.minecraft.block.state.BlockStateContainer; //导入依赖的package包/类
@Override
protected BlockStateContainer createBlockState() {
    return new BlockStateContainer(this, LOG_AXIS);
}
 
开发者ID:Boethie,项目名称:Genesis,代码行数:5,代码来源:BlockGenesisLog.java

示例6: createBlockState

import net.minecraft.block.state.BlockStateContainer; //导入依赖的package包/类
@Override
protected BlockStateContainer createBlockState () {
    return new BlockStateContainer(this, VARIANT);
}
 
开发者ID:jaquadro,项目名称:GardenStuff,代码行数:5,代码来源:BlockMetalMaterial.java

示例7: createBlockState

import net.minecraft.block.state.BlockStateContainer; //导入依赖的package包/类
protected BlockStateContainer createBlockState()
{
    return new BlockStateContainer(this, new IProperty[] {VARIANT});
}
 
开发者ID:sudofox,项目名称:Backmemed,代码行数:5,代码来源:BlockPrismarine.java

示例8: createBlockState

import net.minecraft.block.state.BlockStateContainer; //导入依赖的package包/类
protected BlockStateContainer createBlockState()
{
    return new BlockStateContainer(this, new IProperty[] {FACING, DELAY, LOCKED});
}
 
开发者ID:F1r3w477,项目名称:CustomWorldGen,代码行数:5,代码来源:BlockRedstoneRepeater.java

示例9: createBlockState

import net.minecraft.block.state.BlockStateContainer; //导入依赖的package包/类
@Override
protected BlockStateContainer createBlockState() {
	return new BlockStateContainer(this, FACING, STATETYPE);
}
 
开发者ID:PorPit,项目名称:MineCamera,代码行数:5,代码来源:BlockPictureFrame.java

示例10: createBlockState

import net.minecraft.block.state.BlockStateContainer; //导入依赖的package包/类
protected BlockStateContainer createBlockState()
{
    return new BlockStateContainer(this, new IProperty[] {FACING, field_190963_a});
}
 
开发者ID:sudofox,项目名称:Backmemed,代码行数:5,代码来源:BlockObserver.java

示例11: createBlockState

import net.minecraft.block.state.BlockStateContainer; //导入依赖的package包/类
@Override
protected BlockStateContainer createBlockState() {
	return new ExtendedBlockState(this, new IProperty[0], new IUnlistedProperty[] { UP, DOWN, NORTH, SOUTH, EAST, WEST, COLOR });
}
 
开发者ID:oMilkyy,项目名称:SimpleTubes,代码行数:5,代码来源:BlockTube.java

示例12: createBlockState

import net.minecraft.block.state.BlockStateContainer; //导入依赖的package包/类
@Override
protected BlockStateContainer createBlockState()
{
    return new BlockStateContainer(this, VARIANT);
}
 
开发者ID:oitsjustjose,项目名称:Geolosys,代码行数:6,代码来源:BlockSample.java

示例13: createBlockState

import net.minecraft.block.state.BlockStateContainer; //导入依赖的package包/类
protected BlockStateContainer createBlockState()
{
    return new BlockStateContainer(this, new IProperty[] {HAS_RECORD});
}
 
开发者ID:sudofox,项目名称:Backmemed,代码行数:5,代码来源:BlockJukebox.java

示例14: createBlockState

import net.minecraft.block.state.BlockStateContainer; //导入依赖的package包/类
@Override
protected BlockStateContainer createBlockState() {
	return new BlockStateContainer(this, LOG_AXIS);
}
 
开发者ID:MinecraftModDevelopmentMods,项目名称:Got-Wood,代码行数:5,代码来源:BlockWoodLog.java

示例15: createBlockState

import net.minecraft.block.state.BlockStateContainer; //导入依赖的package包/类
protected BlockStateContainer createBlockState()
{
    return new BlockStateContainer(this, new IProperty[] {TYPE});
}
 
开发者ID:F1r3w477,项目名称:CustomWorldGen,代码行数:5,代码来源:BlockTallGrass.java


注:本文中的net.minecraft.block.state.BlockStateContainer类示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。