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

32 lines
508 B
Java
Raw Normal View History

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.
*/
2019-05-02 09:10:29 +02:00
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();
}