mirror of
https://github.com/Ellpeck/ActuallyAdditions.git
synced 2024-05-06 10:47:06 +02:00
32 lines
508 B
Java
32 lines
508 B
Java
package de.ellpeck.actuallyadditions.api.internal;
|
|
|
|
import net.minecraft.util.math.BlockPos;
|
|
import net.minecraft.world.World;
|
|
|
|
/**
|
|
* This is not supposed to be implemented.
|
|
* Can be cast to TileEntity.
|
|
*/
|
|
public interface IEnergyTile {
|
|
|
|
BlockPos getPosition();
|
|
|
|
int getX();
|
|
|
|
int getY();
|
|
|
|
int getZ();
|
|
|
|
/**
|
|
* @deprecated use {@link #getWorld()}
|
|
*/
|
|
@Deprecated
|
|
World getWorldObject();
|
|
|
|
World getWorld();
|
|
|
|
void extractEnergy(int amount);
|
|
|
|
int getEnergy();
|
|
}
|