Hyph setfeature
This commit is contained in:
parent
c4e20b96ec
commit
279e94ed91
26 changed files with 26 additions and 26 deletions
|
@ -34,7 +34,7 @@ public class ToolDebugCard extends AEBaseItem
|
|||
|
||||
public ToolDebugCard() {
|
||||
super( ToolDebugCard.class );
|
||||
setfeature( EnumSet.of( AEFeature.UnsupportedDeveloperTools, AEFeature.Creative ) );
|
||||
setFeature( EnumSet.of( AEFeature.UnsupportedDeveloperTools, AEFeature.Creative ) );
|
||||
}
|
||||
|
||||
public String timeMeasurement(long nanos)
|
||||
|
|
|
@ -21,7 +21,7 @@ public class ToolEraser extends AEBaseItem
|
|||
|
||||
public ToolEraser() {
|
||||
super( ToolEraser.class );
|
||||
setfeature( EnumSet.of( AEFeature.UnsupportedDeveloperTools, AEFeature.Creative ) );
|
||||
setFeature( EnumSet.of( AEFeature.UnsupportedDeveloperTools, AEFeature.Creative ) );
|
||||
}
|
||||
|
||||
@Override
|
||||
|
|
|
@ -18,7 +18,7 @@ public class ToolMeteoritePlacer extends AEBaseItem
|
|||
|
||||
public ToolMeteoritePlacer() {
|
||||
super( ToolMeteoritePlacer.class );
|
||||
setfeature( EnumSet.of( AEFeature.UnsupportedDeveloperTools, AEFeature.Creative ) );
|
||||
setFeature( EnumSet.of( AEFeature.UnsupportedDeveloperTools, AEFeature.Creative ) );
|
||||
}
|
||||
|
||||
@Override
|
||||
|
|
|
@ -25,7 +25,7 @@ public class ToolReplicatorCard extends AEBaseItem
|
|||
|
||||
public ToolReplicatorCard() {
|
||||
super( ToolReplicatorCard.class );
|
||||
setfeature( EnumSet.of( AEFeature.UnsupportedDeveloperTools, AEFeature.Creative ) );
|
||||
setFeature( EnumSet.of( AEFeature.UnsupportedDeveloperTools, AEFeature.Creative ) );
|
||||
}
|
||||
|
||||
@Override
|
||||
|
|
|
@ -27,7 +27,7 @@ public class AEBaseItem extends Item implements IAEFeature
|
|||
return feature;
|
||||
}
|
||||
|
||||
public void setfeature(EnumSet<AEFeature> f)
|
||||
public void setFeature(EnumSet<AEFeature> f)
|
||||
{
|
||||
feature = new AEFeatureHandler( f, this, FeatureSubname );
|
||||
}
|
||||
|
|
|
@ -55,7 +55,7 @@ public class ItemMultiMaterial extends AEBaseItem implements IStorageComponent,
|
|||
|
||||
public ItemMultiMaterial() {
|
||||
super( ItemMultiMaterial.class );
|
||||
setfeature( EnumSet.of( AEFeature.Core ) );
|
||||
setFeature( EnumSet.of( AEFeature.Core ) );
|
||||
setHasSubtypes( true );
|
||||
instance = this;
|
||||
}
|
||||
|
|
|
@ -69,7 +69,7 @@ public class ItemCrystalSeed extends AEBaseItem implements IGrowableCrystal
|
|||
public ItemCrystalSeed() {
|
||||
super( ItemCrystalSeed.class );
|
||||
setHasSubtypes( true );
|
||||
setfeature( EnumSet.of( AEFeature.Core ) );
|
||||
setFeature( EnumSet.of( AEFeature.Core ) );
|
||||
|
||||
EntityRegistry.registerModEntity( EntityGrowingCrystal.class, EntityGrowingCrystal.class.getSimpleName(), EntityIds.get( EntityGrowingCrystal.class ),
|
||||
AppEng.instance, 16, 4, true );
|
||||
|
|
|
@ -27,7 +27,7 @@ public class ItemEncodedPattern extends AEBaseItem implements ICraftingPatternIt
|
|||
|
||||
public ItemEncodedPattern() {
|
||||
super( ItemEncodedPattern.class );
|
||||
setfeature( EnumSet.of( AEFeature.Patterns ) );
|
||||
setFeature( EnumSet.of( AEFeature.Patterns ) );
|
||||
setMaxStackSize( 1 );
|
||||
if ( Platform.isClient() )
|
||||
MinecraftForgeClient.registerItemRenderer( this, new ItemEncodedPatternRenderer() );
|
||||
|
|
|
@ -19,7 +19,7 @@ public class ItemPaintBall extends AEBaseItem
|
|||
|
||||
public ItemPaintBall() {
|
||||
super( ItemPaintBall.class );
|
||||
setfeature( EnumSet.of( AEFeature.PaintBalls ) );
|
||||
setFeature( EnumSet.of( AEFeature.PaintBalls ) );
|
||||
hasSubtypes = true;
|
||||
if ( Platform.isClient() )
|
||||
MinecraftForgeClient.registerItemRenderer( this, new PaintBallRender() );
|
||||
|
|
|
@ -37,7 +37,7 @@ public class ItemFacade extends AEBaseItem implements IFacadeItem, IAlphaPassIte
|
|||
|
||||
public ItemFacade() {
|
||||
super( ItemFacade.class );
|
||||
setfeature( EnumSet.of( AEFeature.Facades ) );
|
||||
setFeature( EnumSet.of( AEFeature.Facades ) );
|
||||
setHasSubtypes( true );
|
||||
if ( Platform.isClient() )
|
||||
MinecraftForgeClient.registerItemRenderer( this, BusRenderer.instance );
|
||||
|
|
|
@ -49,7 +49,7 @@ public class ItemMultiPart extends AEBaseItem implements IPartItem, IItemGroup
|
|||
|
||||
public ItemMultiPart() {
|
||||
super( ItemMultiPart.class );
|
||||
setfeature( EnumSet.of( AEFeature.Core ) );
|
||||
setFeature( EnumSet.of( AEFeature.Core ) );
|
||||
AEApi.instance().partHelper().setItemBusRenderer( this );
|
||||
setHasSubtypes( true );
|
||||
instance = this;
|
||||
|
|
|
@ -41,7 +41,7 @@ public class ItemBasicStorageCell extends AEBaseItem implements IStorageCell, II
|
|||
|
||||
public ItemBasicStorageCell(MaterialType whichCell, int Kilobytes) {
|
||||
super( ItemBasicStorageCell.class, Kilobytes + "k" );
|
||||
setfeature( EnumSet.of( AEFeature.StorageCells ) );
|
||||
setFeature( EnumSet.of( AEFeature.StorageCells ) );
|
||||
setMaxStackSize( 1 );
|
||||
totalBytes = Kilobytes * 1024;
|
||||
component = whichCell;
|
||||
|
|
|
@ -15,7 +15,7 @@ public class ItemCreativeStorageCell extends AEBaseItem implements ICellWorkbenc
|
|||
|
||||
public ItemCreativeStorageCell() {
|
||||
super( ItemCreativeStorageCell.class );
|
||||
setfeature( EnumSet.of( AEFeature.StorageCells, AEFeature.Creative ) );
|
||||
setFeature( EnumSet.of( AEFeature.StorageCells, AEFeature.Creative ) );
|
||||
setMaxStackSize( 1 );
|
||||
}
|
||||
|
||||
|
|
|
@ -28,7 +28,7 @@ public class ItemSpatialStorageCell extends AEBaseItem implements ISpatialStorag
|
|||
|
||||
public ItemSpatialStorageCell(MaterialType whichCell, int spatialScale) {
|
||||
super( ItemSpatialStorageCell.class, spatialScale + "Cubed" );
|
||||
setfeature( EnumSet.of( AEFeature.SpatialIO ) );
|
||||
setFeature( EnumSet.of( AEFeature.SpatialIO ) );
|
||||
setMaxStackSize( 1 );
|
||||
maxRegion = spatialScale;
|
||||
component = whichCell;
|
||||
|
|
|
@ -28,7 +28,7 @@ public class ItemViewCell extends AEBaseItem implements ICellWorkbenchItem
|
|||
public ItemViewCell()
|
||||
{
|
||||
super( ItemViewCell.class );
|
||||
setfeature( EnumSet.of( AEFeature.Core ) );
|
||||
setFeature( EnumSet.of( AEFeature.Core ) );
|
||||
setMaxStackSize( 1 );
|
||||
}
|
||||
|
||||
|
|
|
@ -27,7 +27,7 @@ public class ToolBiometricCard extends AEBaseItem implements IBiometricCard
|
|||
|
||||
public ToolBiometricCard() {
|
||||
super( ToolBiometricCard.class );
|
||||
setfeature( EnumSet.of( AEFeature.Security ) );
|
||||
setFeature( EnumSet.of( AEFeature.Security ) );
|
||||
setMaxStackSize( 1 );
|
||||
if ( Platform.isClient() )
|
||||
MinecraftForgeClient.registerItemRenderer( this, new ToolBiometricCardRender() );
|
||||
|
|
|
@ -21,7 +21,7 @@ public class ToolMemoryCard extends AEBaseItem implements IMemoryCard
|
|||
|
||||
public ToolMemoryCard() {
|
||||
super( ToolMemoryCard.class );
|
||||
setfeature( EnumSet.of( AEFeature.Core ) );
|
||||
setFeature( EnumSet.of( AEFeature.Core ) );
|
||||
setMaxStackSize( 1 );
|
||||
}
|
||||
|
||||
|
|
|
@ -38,7 +38,7 @@ public class ToolNetworkTool extends AEBaseItem implements IGuiItem, IAEWrench,
|
|||
|
||||
public ToolNetworkTool() {
|
||||
super( ToolNetworkTool.class, null );
|
||||
setfeature( EnumSet.of( AEFeature.NetworkTool ) );
|
||||
setFeature( EnumSet.of( AEFeature.NetworkTool ) );
|
||||
setMaxStackSize( 1 );
|
||||
}
|
||||
|
||||
|
|
|
@ -18,7 +18,7 @@ public class ToolChargedStaff extends AEBasePoweredItem
|
|||
|
||||
public ToolChargedStaff() {
|
||||
super( ToolChargedStaff.class, null );
|
||||
setfeature( EnumSet.of( AEFeature.ChargedStaff, AEFeature.PoweredTools ) );
|
||||
setFeature( EnumSet.of( AEFeature.ChargedStaff, AEFeature.PoweredTools ) );
|
||||
maxStoredPower = AEConfig.instance.staff_battery;
|
||||
}
|
||||
|
||||
|
|
|
@ -75,7 +75,7 @@ public class ToolColorApplicator extends AEBasePoweredItem implements IStorageCe
|
|||
|
||||
public ToolColorApplicator() {
|
||||
super( ToolColorApplicator.class, null );
|
||||
setfeature( EnumSet.of( AEFeature.ColorApplicator, AEFeature.PoweredTools ) );
|
||||
setFeature( EnumSet.of( AEFeature.ColorApplicator, AEFeature.PoweredTools ) );
|
||||
maxStoredPower = AEConfig.instance.colorapplicator_battery;
|
||||
if ( Platform.isClient() )
|
||||
MinecraftForgeClient.registerItemRenderer( this, new ToolColorApplicatorRender() );
|
||||
|
|
|
@ -136,7 +136,7 @@ public class ToolEntropyManipulator extends AEBasePoweredItem implements IBlockT
|
|||
|
||||
public ToolEntropyManipulator() {
|
||||
super( ToolEntropyManipulator.class, null );
|
||||
setfeature( EnumSet.of( AEFeature.EntropyManipulator, AEFeature.PoweredTools ) );
|
||||
setFeature( EnumSet.of( AEFeature.EntropyManipulator, AEFeature.PoweredTools ) );
|
||||
maxStoredPower = AEConfig.instance.manipulator_battery;
|
||||
|
||||
coolDown = new Hashtable<Combo, InWorldToolOperationResult>();
|
||||
|
|
|
@ -60,7 +60,7 @@ public class ToolMassCannon extends AEBasePoweredItem implements IStorageCell
|
|||
|
||||
public ToolMassCannon() {
|
||||
super( ToolMassCannon.class, null );
|
||||
setfeature( EnumSet.of( AEFeature.MatterCannon, AEFeature.PoweredTools ) );
|
||||
setFeature( EnumSet.of( AEFeature.MatterCannon, AEFeature.PoweredTools ) );
|
||||
maxStoredPower = AEConfig.instance.mattercannon_battery;
|
||||
}
|
||||
|
||||
|
|
|
@ -36,7 +36,7 @@ public class ToolPortableCell extends AEBasePoweredItem implements IStorageCell,
|
|||
|
||||
public ToolPortableCell() {
|
||||
super( ToolPortableCell.class, null );
|
||||
setfeature( EnumSet.of( AEFeature.PortableCell, AEFeature.StorageCells, AEFeature.PoweredTools ) );
|
||||
setFeature( EnumSet.of( AEFeature.PortableCell, AEFeature.StorageCells, AEFeature.PoweredTools ) );
|
||||
maxStoredPower = AEConfig.instance.portablecell_battery;
|
||||
}
|
||||
|
||||
|
|
|
@ -28,7 +28,7 @@ public class ToolWirelessTerminal extends AEBasePoweredItem implements IWireless
|
|||
|
||||
public ToolWirelessTerminal() {
|
||||
super( ToolWirelessTerminal.class, null );
|
||||
setfeature( EnumSet.of( AEFeature.WirelessAccessTerminal, AEFeature.PoweredTools ) );
|
||||
setFeature( EnumSet.of( AEFeature.WirelessAccessTerminal, AEFeature.PoweredTools ) );
|
||||
maxStoredPower = AEConfig.instance.wireless_battery;
|
||||
}
|
||||
|
||||
|
|
|
@ -21,7 +21,7 @@ public class ToolQuartzCuttingKnife extends AEBaseItem implements IGuiItem
|
|||
|
||||
public ToolQuartzCuttingKnife(AEFeature Type) {
|
||||
super( ToolQuartzCuttingKnife.class, Type.name() );
|
||||
setfeature( EnumSet.of( type = Type, AEFeature.QuartzKnife ) );
|
||||
setFeature( EnumSet.of( type = Type, AEFeature.QuartzKnife ) );
|
||||
setMaxDamage( 50 );
|
||||
setMaxStackSize( 1 );
|
||||
}
|
||||
|
|
|
@ -21,7 +21,7 @@ public class ToolQuartzWrench extends AEBaseItem implements IAEWrench, IToolWren
|
|||
|
||||
public ToolQuartzWrench(AEFeature type) {
|
||||
super( ToolQuartzWrench.class, type.name() );
|
||||
setfeature( EnumSet.of( type, AEFeature.QuartzWrench ) );
|
||||
setFeature( EnumSet.of( type, AEFeature.QuartzWrench ) );
|
||||
setMaxStackSize( 1 );
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue