本文整理汇总了Java中cyano.poweradvantage.api.PoweredEntity类的典型用法代码示例。如果您正苦于以下问题:Java PoweredEntity类的具体用法?Java PoweredEntity怎么用?Java PoweredEntity使用的例子?那么, 这里精选的类代码示例或许可以为您提供帮助。
PoweredEntity类属于cyano.poweradvantage.api包,在下文中一共展示了PoweredEntity类的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Java代码示例。
示例1: createNewTileEntity
import cyano.poweradvantage.api.PoweredEntity; //导入依赖的package包/类
/**
* Creates a TileEntity for this block when the block is placed into the
* world.
*
* @param world World object
* @param metaDataValue Block data meta value
* @return A new TileEntity instance, probably one that extends
* <b>TileEntitySimplePowerMachine</b>.
*/
@Override
public PoweredEntity createNewTileEntity(World world, int metaDataValue) {
try {
return tileEntity.newInstance();
} catch (InstantiationException | IllegalAccessException e) {
FMLLog.log(Level.ERROR,e,"Failed to initialize TileEntity instance for block %s",this.getUnlocalizedName());
return null;
}
}
示例2: createNewTileEntity
import cyano.poweradvantage.api.PoweredEntity; //导入依赖的package包/类
@Override
public PoweredEntity createNewTileEntity(World world, int metaDataValue) {
return new GrowthChamberControllerTileEntity();
}
示例3: createNewTileEntity
import cyano.poweradvantage.api.PoweredEntity; //导入依赖的package包/类
@Override
public PoweredEntity createNewTileEntity(World world, int metaDataValue) {
return new CoalBoilerTileEntity();
}
示例4: createNewTileEntity
import cyano.poweradvantage.api.PoweredEntity; //导入依赖的package包/类
@Override
public PoweredEntity createNewTileEntity(World world, int metaDataValue) {
return new BlastFurnaceTileEntity();
}
示例5: createNewTileEntity
import cyano.poweradvantage.api.PoweredEntity; //导入依赖的package包/类
@Override
public PoweredEntity createNewTileEntity(World world, int metaDataValue) {
return new SteamPumpTileEntity();
}
示例6: createNewTileEntity
import cyano.poweradvantage.api.PoweredEntity; //导入依赖的package包/类
@Override
public PoweredEntity createNewTileEntity(World world, int metaDataValue) {
return new OilBoilerTileEntity();
}
示例7: createNewTileEntity
import cyano.poweradvantage.api.PoweredEntity; //导入依赖的package包/类
@Override
public PoweredEntity createNewTileEntity(World world, int metaDataValue) {
return new SteamElevatorTileEntity();
}
示例8: createNewTileEntity
import cyano.poweradvantage.api.PoweredEntity; //导入依赖的package包/类
@Override
public PoweredEntity createNewTileEntity(World world, int metaDataValue) {
return new SteamTankTileEntity();
}
示例9: createNewTileEntity
import cyano.poweradvantage.api.PoweredEntity; //导入依赖的package包/类
@Override
public PoweredEntity createNewTileEntity(World world, int metaDataValue) {
return new ElectricBoilerTileEntity();
}
示例10: createNewTileEntity
import cyano.poweradvantage.api.PoweredEntity; //导入依赖的package包/类
@Override
public PoweredEntity createNewTileEntity(World world, int metaDataValue) {
return new GeothermalBoilerTileEntity();
}
示例11: createNewTileEntity
import cyano.poweradvantage.api.PoweredEntity; //导入依赖的package包/类
@Override
public PoweredEntity createNewTileEntity(World world, int metaDataValue) {
return new SteamStillTileEntity();
}
示例12: createNewTileEntity
import cyano.poweradvantage.api.PoweredEntity; //导入依赖的package包/类
@Override
public PoweredEntity createNewTileEntity(World world, int metaDataValue) {
return new RockCrusherTileEntity();
}
示例13: BlockTRConverter
import cyano.poweradvantage.api.PoweredEntity; //导入依赖的package包/类
public BlockTRConverter(Material blockMaterial, float hardness, ConduitType energyType, Class<? extends PoweredEntity> tileEntity) {
super(blockMaterial, hardness, energyType);
powerAdvantageType = energyType;
this.tileEntity = tileEntity;
}
示例14: createNewTileEntity
import cyano.poweradvantage.api.PoweredEntity; //导入依赖的package包/类
@Override
public PoweredEntity createNewTileEntity(World world, int metaDataValue) {
return new StillTileEntity();
}
示例15: createNewTileEntity
import cyano.poweradvantage.api.PoweredEntity; //导入依赖的package包/类
@Override
public PoweredEntity createNewTileEntity(World w, int m) {
return new FluidDrainTileEntity();
}