當前位置: 首頁>>代碼示例>>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;未經允許,請勿轉載。