ActuallyAdditions/src/main/java/de/ellpeck/actuallyadditions/api/internal/IAtomicReconstructor.java

59 lines
1.3 KiB
Java
Raw Normal View History

2016-01-05 04:47:35 +01:00
/*
2016-05-16 22:52:27 +02:00
* This file ("IAtomicReconstructor.java") is part of the Actually Additions mod for Minecraft.
2016-01-05 04:47:35 +01:00
* It is created and owned by Ellpeck and distributed
* under the Actually Additions License to be found at
2016-05-16 22:52:27 +02:00
* http://ellpeck.de/actaddlicense
2016-01-05 04:47:35 +01:00
* View the source code at https://github.com/Ellpeck/ActuallyAdditions
*
2016-05-16 22:54:42 +02:00
* © 2015-2016 Ellpeck
2016-01-05 04:47:35 +01:00
*/
2016-01-05 14:57:50 +01:00
package de.ellpeck.actuallyadditions.api.internal;
2016-01-05 04:47:35 +01:00
import de.ellpeck.actuallyadditions.api.lens.Lens;
import net.minecraft.util.EnumFacing;
2016-01-05 04:47:35 +01:00
import net.minecraft.world.World;
/**
* This is a helper interface for Lens' invoke() method.
* This is not supposed to be implemented.
2016-01-05 14:57:50 +01:00
* <p>
* Can be cast to TileEntity.
2016-01-05 04:47:35 +01:00
*/
public interface IAtomicReconstructor{
/**
* Returns the x coord of the reconstructor
*/
int getX();
/**
* Returns the y coord of the reconstructor
*/
int getY();
/**
* Returns the z coord of the reconstructor
*/
int getZ();
/**
* Returns the world of the reconstructor
*/
World getWorldObject();
2016-01-05 04:47:35 +01:00
/**
* Extracts a specified amount of energy from the Reconstructor's RF storage
*/
void extractEnergy(int amount);
/**
* Gets the amount of energy the Reconstructor has stored in its RF storage
*/
int getEnergy();
Lens getLens();
EnumFacing getOrientation();
2016-01-05 04:47:35 +01:00
}