2014-02-15 09:21:40 +01:00
|
|
|
/**
|
|
|
|
* Copyright (c) 2011-2014, SpaceToad and the BuildCraft Team
|
2012-05-09 22:43:05 +02:00
|
|
|
* http://www.mod-buildcraft.com
|
2014-02-15 09:21:40 +01:00
|
|
|
*
|
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.
|
2012-05-09 22:43:05 +02:00
|
|
|
*/
|
2012-07-25 12:45:15 +02:00
|
|
|
package buildcraft.api.blueprints;
|
2012-05-09 22:43:05 +02:00
|
|
|
|
2013-07-12 23:21:44 +02:00
|
|
|
import net.minecraft.world.World;
|
2014-02-21 21:30:12 +01:00
|
|
|
import buildcraft.api.core.IBox;
|
|
|
|
import buildcraft.api.core.Position;
|
2012-05-09 22:43:05 +02:00
|
|
|
|
|
|
|
/**
|
2014-02-22 13:21:49 +01:00
|
|
|
* This interface provide contextual information when building or initializing
|
|
|
|
* blueprint slots.
|
2012-05-09 22:43:05 +02:00
|
|
|
*/
|
2014-03-05 20:42:44 +01:00
|
|
|
public interface IBuilderContext {
|
2014-02-23 23:16:28 +01:00
|
|
|
|
2014-05-03 18:59:52 +02:00
|
|
|
Position rotatePositionLeft(Position pos);
|
2012-06-04 22:48:18 +02:00
|
|
|
|
2014-05-03 18:59:52 +02:00
|
|
|
IBox surroundingBox();
|
2012-06-04 22:48:18 +02:00
|
|
|
|
2014-05-03 18:59:52 +02:00
|
|
|
World world();
|
2014-02-23 23:16:28 +01:00
|
|
|
|
2014-05-03 18:59:52 +02:00
|
|
|
MappingRegistry getMappingRegistry();
|
2012-05-09 22:43:05 +02:00
|
|
|
}
|