2014-06-09 17:40:56 +02:00
|
|
|
/**
|
|
|
|
* Copyright (c) 2011-2014, SpaceToad and the BuildCraft Team
|
|
|
|
* http://www.mod-buildcraft.com
|
|
|
|
*
|
2014-12-09 21:09:14 +01:00
|
|
|
* 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-09 17:40:56 +02:00
|
|
|
*/
|
2014-06-13 13:36:02 +02:00
|
|
|
package buildcraft.api.robots;
|
2014-06-09 17:40:56 +02:00
|
|
|
|
2014-07-03 09:32:57 +02:00
|
|
|
import net.minecraft.nbt.NBTTagCompound;
|
|
|
|
|
2014-06-09 17:40:56 +02:00
|
|
|
import net.minecraftforge.common.util.ForgeDirection;
|
|
|
|
|
2014-08-12 23:23:43 +02:00
|
|
|
import buildcraft.api.core.BlockIndex;
|
|
|
|
|
2014-06-13 13:36:02 +02:00
|
|
|
public interface IDockingStation {
|
2014-06-09 17:40:56 +02:00
|
|
|
|
2014-06-13 13:36:02 +02:00
|
|
|
int x();
|
2014-06-09 17:40:56 +02:00
|
|
|
|
2014-06-13 13:36:02 +02:00
|
|
|
int y();
|
|
|
|
|
|
|
|
int z();
|
2014-06-09 17:40:56 +02:00
|
|
|
|
2014-06-13 13:36:02 +02:00
|
|
|
ForgeDirection side();
|
|
|
|
|
2014-08-12 23:23:43 +02:00
|
|
|
EntityRobotBase robotTaking();
|
|
|
|
|
|
|
|
long robotIdTaking();
|
2014-06-29 16:07:19 +02:00
|
|
|
|
2014-08-12 23:23:43 +02:00
|
|
|
long linkedId();
|
|
|
|
|
|
|
|
boolean isTaken();
|
2014-07-03 09:32:57 +02:00
|
|
|
|
|
|
|
void writeToNBT(NBTTagCompound nbt);
|
|
|
|
|
|
|
|
void readFromNBT(NBTTagCompound nbt);
|
2014-08-12 23:23:43 +02:00
|
|
|
|
|
|
|
BlockIndex index();
|
2014-08-14 23:24:53 +02:00
|
|
|
|
|
|
|
boolean take(EntityRobotBase robot);
|
2014-06-13 13:36:02 +02:00
|
|
|
}
|