buildcraft/api/buildcraft/api/robots/IDockingStation.java

43 lines
813 B
Java
Raw Normal View History

/**
* Copyright (c) 2011-2014, SpaceToad and the BuildCraft Team
* http://www.mod-buildcraft.com
*
* The BuildCraft API is distributed under the terms of the MIT License.
* Please check the contents of the license, which should be located
* as "LICENSE.API" in the BuildCraft source code distribution.
*/
2014-06-13 13:36:02 +02:00
package buildcraft.api.robots;
import net.minecraft.nbt.NBTTagCompound;
import net.minecraftforge.common.util.ForgeDirection;
import buildcraft.api.core.BlockIndex;
2014-06-13 13:36:02 +02:00
public interface IDockingStation {
2014-06-13 13:36:02 +02:00
int x();
2014-06-13 13:36:02 +02:00
int y();
int z();
2014-06-13 13:36:02 +02:00
ForgeDirection side();
EntityRobotBase robotTaking();
long robotIdTaking();
long linkedId();
boolean isTaken();
void writeToNBT(NBTTagCompound nbt);
void readFromNBT(NBTTagCompound nbt);
BlockIndex index();
boolean take(EntityRobotBase robot);
2014-06-13 13:36:02 +02:00
}