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

37 lines
779 B
Java
Raw Normal View History

/*
* This file ("IEnergyTile.java") is part of the Actually Additions mod for Minecraft.
* It is created and owned by Ellpeck and distributed
* under the Actually Additions License to be found at
* http://ellpeck.de/actaddlicense
* View the source code at https://github.com/Ellpeck/ActuallyAdditions
*
2017-01-01 16:23:26 +01:00
* © 2015-2017 Ellpeck
*/
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();
2018-09-26 08:52:40 +02:00
//TODO: Rename to getWorld
World getWorldObject();
void extractEnergy(int amount);
int getEnergy();
}