28 lines
666 B
Java
28 lines
666 B
Java
package thaumcraft.api;
|
|
|
|
import java.util.ArrayList;
|
|
|
|
import net.minecraft.entity.player.EntityPlayer;
|
|
import net.minecraft.item.ItemStack;
|
|
import net.minecraft.world.World;
|
|
|
|
public interface IArchitect {
|
|
|
|
/**
|
|
* Returns a list of blocks that should be highlighted in world.
|
|
*/
|
|
public ArrayList<BlockCoordinates> getArchitectBlocks(ItemStack stack, World world,
|
|
int x, int y, int z, int side, EntityPlayer player);
|
|
|
|
/**
|
|
* which axis should be displayed.
|
|
*/
|
|
public boolean showAxis(ItemStack stack, World world, EntityPlayer player, int side, EnumAxis axis);
|
|
|
|
public enum EnumAxis {
|
|
X, // east / west
|
|
Y, // up / down
|
|
Z; // north / south
|
|
}
|
|
}
|