mirror of
https://github.com/GTNewHorizons/Applied-Energistics-2-Unofficial.git
synced 2026-11-20 04:09:56 +00:00
Relocate Source to proper directory.
This commit is contained in:
1 parent
fe927ce65d
commit
386d18a059
785 files changed
+35585
-35580
No files matched your search
@@ -0,0 +1,38 @@
|
||||
package appeng.debug;
|
||||
|
||||
import java.util.EnumSet;
|
||||
|
||||
import net.minecraft.block.material.Material;
|
||||
import net.minecraft.client.renderer.texture.IIconRegister;
|
||||
import net.minecraft.entity.player.EntityPlayer;
|
||||
import net.minecraft.world.World;
|
||||
import appeng.block.AEBaseBlock;
|
||||
import appeng.core.features.AEFeature;
|
||||
|
||||
public class BlockCubeGenerator extends AEBaseBlock
|
||||
{
|
||||
|
||||
public BlockCubeGenerator() {
|
||||
super( BlockCubeGenerator.class, Material.iron );
|
||||
setFeature( EnumSet.of( AEFeature.UnsupportedDeveloperTools, AEFeature.Creative ) );
|
||||
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) {
|
||||
|
||||
TileCubeGenerator tcg = getTileEntity(w, x, y, z);
|
||||
if ( tcg != null )
|
||||
tcg.click( player );
|
||||
|
||||
return true;
|
||||
}
|
||||
|
||||
@Override
|
||||
public void registerBlockIcons(IIconRegister iconRegistry)
|
||||
{
|
||||
registerNoIcons();
|
||||
}
|
||||
|
||||
}
|
||||
Reference in new issue
Block a user