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
|
|
|
|
2016-05-14 14:14:06 +02:00
|
|
|
import de.ellpeck.actuallyadditions.api.lens.Lens;
|
2016-12-03 13:29:20 +01:00
|
|
|
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
|
|
|
|
*/
|
2016-01-07 21:41:28 +01:00
|
|
|
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();
|
2016-05-14 14:14:06 +02:00
|
|
|
|
|
|
|
Lens getLens();
|
2016-12-03 13:29:20 +01:00
|
|
|
|
|
|
|
EnumFacing getOrientation();
|
2016-01-05 04:47:35 +01:00
|
|
|
}
|