buildcraft/api/buildcraft/api/core/IAreaProvider.java

34 lines
680 B
Java
Raw Normal View History

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
*
* 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.core;
2012-05-09 22:43:05 +02:00
/**
2012-12-17 23:30:54 +01:00
* To be implemented by TileEntities able to provide a square area on the world, typically BuildCraft markers.
2012-05-09 22:43:05 +02:00
*/
public interface IAreaProvider {
int xMin();
2012-06-04 22:48:18 +02:00
int yMin();
2012-06-04 22:48:18 +02:00
int zMin();
2012-06-04 22:48:18 +02:00
int xMax();
2012-06-04 22:48:18 +02:00
int yMax();
2012-06-04 22:48:18 +02:00
int zMax();
2012-06-04 22:48:18 +02:00
2012-05-09 22:43:05 +02:00
/**
* Remove from the world all objects used to define the area.
*/
void removeFromWorld();
2012-05-09 22:43:05 +02:00
}