Basic reformat, hit once, hope never again
This commit is contained in:
@@ -18,6 +18,7 @@
|
||||
|
||||
package appeng.debug;
|
||||
|
||||
|
||||
import java.util.EnumSet;
|
||||
|
||||
import net.minecraft.block.material.Material;
|
||||
@@ -28,30 +29,31 @@ import net.minecraft.world.World;
|
||||
import appeng.block.AEBaseBlock;
|
||||
import appeng.core.features.AEFeature;
|
||||
|
||||
|
||||
public class BlockCubeGenerator extends AEBaseBlock
|
||||
{
|
||||
|
||||
public BlockCubeGenerator() {
|
||||
public BlockCubeGenerator()
|
||||
{
|
||||
super( BlockCubeGenerator.class, Material.iron );
|
||||
this.setFeature( EnumSet.of( AEFeature.UnsupportedDeveloperTools, AEFeature.Creative ) );
|
||||
this.setTileEntity( TileCubeGenerator.class );
|
||||
}
|
||||
|
||||
@Override
|
||||
public boolean onActivated(World w, int x, int y, int z,
|
||||
EntityPlayer player, int side, float hitX, float hitY, float hitZ) {
|
||||
public boolean onActivated( World w, int x, int y, int z, EntityPlayer player, int side, float hitX, float hitY, float hitZ )
|
||||
{
|
||||
|
||||
TileCubeGenerator tcg = this.getTileEntity(w, x, y, z);
|
||||
if ( tcg != null )
|
||||
TileCubeGenerator tcg = this.getTileEntity( w, x, y, z );
|
||||
if( tcg != null )
|
||||
tcg.click( player );
|
||||
|
||||
return true;
|
||||
}
|
||||
|
||||
@Override
|
||||
public void registerBlockIcons(IIconRegister iconRegistry)
|
||||
public void registerBlockIcons( IIconRegister iconRegistry )
|
||||
{
|
||||
this.registerNoIcons();
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user