hyph setfeature

This commit is contained in:
thatsIch 2014-09-20 23:24:29 +02:00
parent dc6f07af40
commit 62bbdd4ea4
46 changed files with 46 additions and 46 deletions

View file

@ -181,7 +181,7 @@ public class AEBaseBlock extends BlockContainer implements IAEFeature
setTileProvider( hasBlockTileEntity() );
}
protected void setfeature(EnumSet<AEFeature> f)
protected void setFeature(EnumSet<AEFeature> f)
{
feature = new AEFeatureHandler( f, this, FeatureSubname );
}

View file

@ -30,7 +30,7 @@ public class BlockCraftingUnit extends AEBaseBlock
public BlockCraftingUnit(Class<? extends BlockCraftingUnit> childClass) {
super( childClass, Material.iron );
hasSubtypes = true;
setfeature( EnumSet.of( AEFeature.CraftingCPU ) );
setFeature( EnumSet.of( AEFeature.CraftingCPU ) );
}
public BlockCraftingUnit() {

View file

@ -21,7 +21,7 @@ public class BlockMolecularAssembler extends AEBaseBlock
public BlockMolecularAssembler() {
super( BlockMolecularAssembler.class, Material.iron );
setfeature( EnumSet.of( AEFeature.MolecularAssembler ) );
setFeature( EnumSet.of( AEFeature.MolecularAssembler ) );
setTileEntity( TileMolecularAssembler.class );
isOpaque = false;
lightOpacity = 1;

View file

@ -25,7 +25,7 @@ public class BlockCrank extends AEBaseBlock
public BlockCrank() {
super( BlockCrank.class, Material.wood );
setfeature( EnumSet.of( AEFeature.GrindStone ) );
setFeature( EnumSet.of( AEFeature.GrindStone ) );
setTileEntity( TileCrank.class );
setLightOpacity( 0 );
isFullSize = isOpaque = false;

View file

@ -17,7 +17,7 @@ public class BlockGrinder extends AEBaseBlock
public BlockGrinder() {
super( BlockGrinder.class, Material.rock );
setfeature( EnumSet.of( AEFeature.GrindStone ) );
setFeature( EnumSet.of( AEFeature.GrindStone ) );
setTileEntity( TileGrinder.class );
setHardness( 3.2F );
}

View file

@ -17,7 +17,7 @@ public class BlockCellWorkbench extends AEBaseBlock
public BlockCellWorkbench() {
super( BlockCellWorkbench.class, Material.iron );
setfeature( EnumSet.of( AEFeature.StorageCells ) );
setFeature( EnumSet.of( AEFeature.StorageCells ) );
setTileEntity( TileCellWorkbench.class );
}

View file

@ -33,7 +33,7 @@ public class BlockCharger extends AEBaseBlock implements ICustomCollision
public BlockCharger() {
super( BlockCharger.class, Material.iron );
setfeature( EnumSet.of( AEFeature.Core ) );
setFeature( EnumSet.of( AEFeature.Core ) );
setTileEntity( TileCharger.class );
setLightOpacity( 2 );
isFullSize = isOpaque = false;

View file

@ -17,7 +17,7 @@ public class BlockCondenser extends AEBaseBlock
public BlockCondenser() {
super( BlockCondenser.class, Material.iron );
setfeature( EnumSet.of( AEFeature.Core ) );
setFeature( EnumSet.of( AEFeature.Core ) );
setTileEntity( TileCondenser.class );
}

View file

@ -19,7 +19,7 @@ public class BlockInscriber extends AEBaseBlock
public BlockInscriber() {
super( BlockInscriber.class, Material.iron );
setfeature( EnumSet.of( AEFeature.Inscriber ) );
setFeature( EnumSet.of( AEFeature.Inscriber ) );
setTileEntity( TileInscriber.class );
setLightOpacity( 2 );
isFullSize = isOpaque = false;

View file

@ -20,7 +20,7 @@ public class BlockInterface extends AEBaseBlock
public BlockInterface() {
super( BlockInterface.class, Material.iron );
setfeature( EnumSet.of( AEFeature.Core ) );
setFeature( EnumSet.of( AEFeature.Core ) );
setTileEntity( TileInterface.class );
}

View file

@ -15,7 +15,7 @@ public class BlockLightDetector extends BlockQuartzTorch
public BlockLightDetector() {
super( BlockLightDetector.class );
setfeature( EnumSet.of( AEFeature.LightDetector ) );
setFeature( EnumSet.of( AEFeature.LightDetector ) );
setTileEntity( TileLightDetector.class );
}

View file

@ -24,7 +24,7 @@ public class BlockPaint extends AEBaseBlock
public BlockPaint() {
super( BlockPaint.class, new MaterialLiquid( MapColor.airColor ) );
setfeature( EnumSet.of( AEFeature.PaintBalls ) );
setFeature( EnumSet.of( AEFeature.PaintBalls ) );
setTileEntity( TilePaint.class );
setLightOpacity( 0 );
isFullSize = false;

View file

@ -29,7 +29,7 @@ public class BlockQuartzGrowthAccelerator extends AEBaseBlock implements IOrient
public BlockQuartzGrowthAccelerator() {
super( BlockQuartzGrowthAccelerator.class, Material.rock );
setfeature( EnumSet.of( AEFeature.Core ) );
setFeature( EnumSet.of( AEFeature.Core ) );
setTileEntity( TileQuartzGrowthAccelerator.class );
}

View file

@ -39,7 +39,7 @@ public class BlockQuartzTorch extends AEBaseBlock implements IOrientableBlock, I
public BlockQuartzTorch() {
this( BlockQuartzTorch.class );
setfeature( EnumSet.of( AEFeature.DecorativeLights ) );
setFeature( EnumSet.of( AEFeature.DecorativeLights ) );
setLightLevel( 0.9375F );
}

View file

@ -19,7 +19,7 @@ public class BlockSecurity extends AEBaseBlock
public BlockSecurity() {
super( BlockSecurity.class, Material.iron );
setfeature( EnumSet.of( AEFeature.Security ) );
setFeature( EnumSet.of( AEFeature.Security ) );
setTileEntity( TileSecurity.class );
}

View file

@ -27,7 +27,7 @@ public class BlockSkyCompass extends AEBaseBlock implements ICustomCollision
public BlockSkyCompass() {
super( BlockSkyCompass.class, Material.iron );
setfeature( EnumSet.of( AEFeature.MeteoriteCompass ) );
setFeature( EnumSet.of( AEFeature.MeteoriteCompass ) );
setTileEntity( TileSkyCompass.class );
isOpaque = isFullSize = false;
lightOpacity = 0;

View file

@ -36,7 +36,7 @@ public class BlockTinyTNT extends AEBaseBlock implements ICustomCollision
public BlockTinyTNT() {
super( BlockTinyTNT.class, Material.tnt );
setfeature( EnumSet.of( AEFeature.TinyTNT ) );
setFeature( EnumSet.of( AEFeature.TinyTNT ) );
setLightOpacity( 3 );
setBlockBounds( 0.25f, 0.0f, 0.25f, 0.75f, 0.5f, 0.75f );
isFullSize = isOpaque = false;

View file

@ -23,7 +23,7 @@ public class BlockVibrationChamber extends AEBaseBlock
public BlockVibrationChamber() {
super( BlockVibrationChamber.class, Material.iron );
setfeature( EnumSet.of( AEFeature.PowerGen ) );
setFeature( EnumSet.of( AEFeature.PowerGen ) );
setTileEntity( TileVibrationChamber.class );
setHardness( 4.2F );
}

View file

@ -76,7 +76,7 @@ public class BlockCableBus extends AEBaseBlock implements IRedNetConnection
public BlockCableBus() {
super( BlockCableBus.class, AEGlassMaterial.instance );
setfeature( EnumSet.of( AEFeature.Core ) );
setFeature( EnumSet.of( AEFeature.Core ) );
setLightOpacity( 0 );
isFullSize = isOpaque = false;
}

View file

@ -16,7 +16,7 @@ public class BlockController extends AEBaseBlock
public BlockController() {
super( BlockController.class, Material.iron );
setfeature( EnumSet.of( AEFeature.Channels ) );
setFeature( EnumSet.of( AEFeature.Channels ) );
setTileEntity( TileController.class );
setHardness( 6 );
}

View file

@ -12,7 +12,7 @@ public class BlockCreativeEnergyCell extends AEBaseBlock
public BlockCreativeEnergyCell() {
super( BlockCreativeEnergyCell.class, AEGlassMaterial.instance );
setfeature( EnumSet.of( AEFeature.Creative ) );
setFeature( EnumSet.of( AEFeature.Creative ) );
setTileEntity( TileCreativeEnergyCell.class );
}

View file

@ -18,7 +18,7 @@ public class BlockDenseEnergyCell extends BlockEnergyCell
public BlockDenseEnergyCell() {
super( BlockDenseEnergyCell.class );
setfeature( EnumSet.of( AEFeature.DenseEnergyCells ) );
setFeature( EnumSet.of( AEFeature.DenseEnergyCells ) );
setTileEntity( TileDenseEnergyCell.class );
}

View file

@ -12,7 +12,7 @@ public class BlockEnergyAcceptor extends AEBaseBlock
public BlockEnergyAcceptor() {
super( BlockEnergyAcceptor.class, Material.iron );
setfeature( EnumSet.of( AEFeature.Core ) );
setFeature( EnumSet.of( AEFeature.Core ) );
setTileEntity( TileEnergyAcceptor.class );
}

View file

@ -32,7 +32,7 @@ public class BlockEnergyCell extends AEBaseBlock
public BlockEnergyCell() {
this( BlockEnergyCell.class );
setfeature( EnumSet.of( AEFeature.Core ) );
setFeature( EnumSet.of( AEFeature.Core ) );
setTileEntity( TileEnergyCell.class );
}

View file

@ -25,7 +25,7 @@ public class BlockWireless extends AEBaseBlock implements ICustomCollision
public BlockWireless() {
super( BlockWireless.class, AEGlassMaterial.instance );
setfeature( EnumSet.of( AEFeature.Core, AEFeature.WirelessAccessTerminal ) );
setFeature( EnumSet.of( AEFeature.Core, AEFeature.WirelessAccessTerminal ) );
setTileEntity( TileWireless.class );
setLightOpacity( 0 );
isFullSize = false;

View file

@ -30,7 +30,7 @@ public class BlockQuantumLinkChamber extends AEBaseBlock implements ICustomColli
public BlockQuantumLinkChamber() {
super( BlockQuantumLinkChamber.class, AEGlassMaterial.instance );
setfeature( EnumSet.of( AEFeature.QuantumNetworkBridge ) );
setFeature( EnumSet.of( AEFeature.QuantumNetworkBridge ) );
setTileEntity( TileQuantumBridge.class );
float shave = 2.0f / 16.0f;
setBlockBounds( shave, shave, shave, 1.0f - shave, 1.0f - shave, 1.0f - shave );

View file

@ -21,7 +21,7 @@ public class BlockQuantumRing extends AEBaseBlock implements ICustomCollision
public BlockQuantumRing() {
super( BlockQuantumRing.class, Material.iron );
setfeature( EnumSet.of( AEFeature.QuantumNetworkBridge ) );
setFeature( EnumSet.of( AEFeature.QuantumNetworkBridge ) );
setTileEntity( TileQuantumBridge.class );
float shave = 2.0f / 16.0f;
setBlockBounds( shave, shave, shave, 1.0f - shave, 1.0f - shave, 1.0f - shave );

View file

@ -11,7 +11,7 @@ public class BlockFluix extends AEDecorativeBlock
public BlockFluix() {
super( BlockFluix.class, Material.rock );
setfeature( EnumSet.of( AEFeature.DecorativeQuartzBlocks ) );
setFeature( EnumSet.of( AEFeature.DecorativeQuartzBlocks ) );
}
}

View file

@ -11,7 +11,7 @@ public class BlockQuartz extends AEDecorativeBlock
public BlockQuartz() {
super( BlockQuartz.class, Material.rock );
setfeature( EnumSet.of( AEFeature.DecorativeQuartzBlocks ) );
setFeature( EnumSet.of( AEFeature.DecorativeQuartzBlocks ) );
}
}

View file

@ -11,7 +11,7 @@ public class BlockQuartzChiseled extends AEDecorativeBlock
public BlockQuartzChiseled() {
super( BlockQuartzChiseled.class, Material.rock );
setfeature( EnumSet.of( AEFeature.DecorativeQuartzBlocks ) );
setFeature( EnumSet.of( AEFeature.DecorativeQuartzBlocks ) );
}
}

View file

@ -40,7 +40,7 @@ public class BlockQuartzGlass extends AEBaseBlock
public BlockQuartzGlass(Class c) {
super( c, Material.glass );
setfeature( EnumSet.of( AEFeature.DecorativeQuartzBlocks ) );
setFeature( EnumSet.of( AEFeature.DecorativeQuartzBlocks ) );
setLightOpacity( 0 );
isOpaque = false;
}

View file

@ -18,7 +18,7 @@ public class BlockQuartzLamp extends BlockQuartzGlass
public BlockQuartzLamp() {
super( BlockQuartzLamp.class );
setfeature( EnumSet.of( AEFeature.DecorativeQuartzBlocks, AEFeature.DecorativeLights ) );
setFeature( EnumSet.of( AEFeature.DecorativeQuartzBlocks, AEFeature.DecorativeLights ) );
setLightLevel( 1.0f );
setBlockTextureName( "BlockQuartzGlass" );
}

View file

@ -15,7 +15,7 @@ public class BlockQuartzPillar extends AEBaseBlock implements IOrientableBlock
public BlockQuartzPillar() {
super( BlockQuartzPillar.class, Material.rock );
setfeature( EnumSet.of( AEFeature.DecorativeQuartzBlocks ) );
setFeature( EnumSet.of( AEFeature.DecorativeQuartzBlocks ) );
}
@Override

View file

@ -63,7 +63,7 @@ public class BlockSkyStone extends AEBaseBlock implements IOrientableBlock
public BlockSkyStone() {
super( BlockSkyStone.class, Material.rock );
setfeature( EnumSet.of( AEFeature.Core ) );
setFeature( EnumSet.of( AEFeature.Core ) );
setHardness( 50 );
hasSubtypes = true;
blockResistance = 150.0f;

View file

@ -25,7 +25,7 @@ public class OreQuartz extends AEBaseBlock
public OreQuartz(Class self) {
super( self, Material.rock );
setfeature( EnumSet.of( AEFeature.Core ) );
setFeature( EnumSet.of( AEFeature.Core ) );
setHardness( 3.0F );
setResistance( 5.0F );
boostBrightnessLow = 0;

View file

@ -23,7 +23,7 @@ public class BlockMatrixFrame extends AEBaseBlock implements ICustomCollision
public BlockMatrixFrame() {
super( BlockMatrixFrame.class, Material.anvil);
setfeature( EnumSet.of( AEFeature.SpatialIO ) );
setFeature( EnumSet.of( AEFeature.SpatialIO ) );
setResistance( 6000000.0F );
setBlockUnbreakable();
setLightOpacity( 0 );

View file

@ -18,7 +18,7 @@ public class BlockSpatialIOPort extends AEBaseBlock
public BlockSpatialIOPort() {
super( BlockSpatialIOPort.class, Material.iron );
setfeature( EnumSet.of( AEFeature.SpatialIO ) );
setFeature( EnumSet.of( AEFeature.SpatialIO ) );
setTileEntity( TileSpatialIOPort.class );
}

View file

@ -17,7 +17,7 @@ public class BlockSpatialPylon extends AEBaseBlock
public BlockSpatialPylon() {
super( BlockSpatialPylon.class, AEGlassMaterial.instance );
setfeature( EnumSet.of( AEFeature.SpatialIO ) );
setFeature( EnumSet.of( AEFeature.SpatialIO ) );
setTileEntity( TileSpatialPylon.class );
}

View file

@ -23,7 +23,7 @@ public class BlockChest extends AEBaseBlock
public BlockChest() {
super( BlockChest.class, Material.iron );
setfeature( EnumSet.of( AEFeature.StorageCells, AEFeature.MEChest ) );
setFeature( EnumSet.of( AEFeature.StorageCells, AEFeature.MEChest ) );
setTileEntity( TileChest.class );
}

View file

@ -19,7 +19,7 @@ public class BlockDrive extends AEBaseBlock
public BlockDrive() {
super( BlockDrive.class, Material.iron );
setfeature( EnumSet.of( AEFeature.StorageCells, AEFeature.MEDrive ) );
setFeature( EnumSet.of( AEFeature.StorageCells, AEFeature.MEDrive ) );
setTileEntity( TileDrive.class );
}

View file

@ -18,7 +18,7 @@ public class BlockIOPort extends AEBaseBlock
public BlockIOPort() {
super( BlockIOPort.class, Material.iron );
setfeature( EnumSet.of( AEFeature.StorageCells, AEFeature.IOPort ) );
setFeature( EnumSet.of( AEFeature.StorageCells, AEFeature.IOPort ) );
setTileEntity( TileIOPort.class );
}

View file

@ -33,7 +33,7 @@ public class BlockSkyChest extends AEBaseBlock implements ICustomCollision
public BlockSkyChest() {
super( BlockSkyChest.class, Material.rock );
setfeature( EnumSet.of( AEFeature.Core, AEFeature.SkyStoneChests ) );
setFeature( EnumSet.of( AEFeature.Core, AEFeature.SkyStoneChests ) );
setTileEntity( TileSkyChest.class );
isOpaque = isFullSize = false;
lightOpacity = 0;

View file

@ -18,7 +18,7 @@ public class BlockChunkloader extends AEBaseBlock implements LoadingCallback
public BlockChunkloader() {
super( BlockChunkloader.class, Material.iron );
setfeature( EnumSet.of( AEFeature.UnsupportedDeveloperTools, AEFeature.Creative ) );
setFeature( EnumSet.of( AEFeature.UnsupportedDeveloperTools, AEFeature.Creative ) );
setTileEntity( TileChunkLoader.class );
ForgeChunkManager.setForcedChunkLoadingCallback( AppEng.instance, this );
}

View file

@ -14,7 +14,7 @@ public class BlockCubeGenerator extends AEBaseBlock
public BlockCubeGenerator() {
super( BlockCubeGenerator.class, Material.iron );
setfeature( EnumSet.of( AEFeature.UnsupportedDeveloperTools, AEFeature.Creative ) );
setFeature( EnumSet.of( AEFeature.UnsupportedDeveloperTools, AEFeature.Creative ) );
setTileEntity( TileCubeGenerator.class );
}

View file

@ -12,7 +12,7 @@ public class BlockItemGen extends AEBaseBlock
public BlockItemGen() {
super( BlockItemGen.class, Material.iron );
setfeature( EnumSet.of( AEFeature.UnsupportedDeveloperTools, AEFeature.Creative ) );
setFeature( EnumSet.of( AEFeature.UnsupportedDeveloperTools, AEFeature.Creative ) );
setTileEntity( TileItemGen.class );
}

View file

@ -14,7 +14,7 @@ public class BlockPhantomNode extends AEBaseBlock
public BlockPhantomNode() {
super( BlockPhantomNode.class, Material.iron );
setfeature( EnumSet.of( AEFeature.UnsupportedDeveloperTools, AEFeature.Creative ) );
setFeature( EnumSet.of( AEFeature.UnsupportedDeveloperTools, AEFeature.Creative ) );
setTileEntity( TilePhantomNode.class );
}