Java源码示例:net.minecraft.block.state.BlockStateBase
示例1public IBlockState getState(){
if(this.state instanceof MetaBlock){
return ((MetaBlock)this.state).getState();
}
return (BlockStateBase)this.state;
}
public WrapperBlockStateBase(BlockStateBase var1) {
this.real = var1;
}
public BlockStateBase unwrap() {
return this.real;
}