public abstract class BptBuilderBase extends java.lang.Object implements IAreaProvider
| Modifier and Type | Field and Description |
|---|---|
BlueprintBase |
blueprint |
protected java.util.TreeSet<BlockIndex> |
builtLocations |
protected java.util.TreeSet<BlockIndex> |
clearedLocations |
BptContext |
context |
protected boolean |
done |
| Constructor and Description |
|---|
BptBuilderBase(BlueprintBase bluePrint,
net.minecraft.world.World world,
int x,
int y,
int z) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
buildNextSlot(net.minecraft.world.World world,
TileAbstractBuilder builder,
int x,
int y,
int z) |
net.minecraft.util.AxisAlignedBB |
getBoundingBox() |
BptContext |
getContext() |
abstract BuildingSlot |
getNextBlock(net.minecraft.world.World world,
TileAbstractBuilder inv) |
boolean |
isDone(TileAbstractBuilder builder) |
void |
loadBuildStateToNBT(net.minecraft.nbt.NBTTagCompound nbt) |
void |
postProcessing(net.minecraft.world.World world) |
void |
removeDoneBuilders(TileAbstractBuilder builder) |
void |
removeFromWorld()
Remove from the world all objects used to define the area.
|
void |
saveBuildStateToNBT(net.minecraft.nbt.NBTTagCompound nbt) |
protected boolean |
setupForDestroy(TileAbstractBuilder builder,
IBuilderContext context,
BuildingSlotBlock slot) |
int |
xMax() |
int |
xMin() |
int |
yMax() |
int |
yMin() |
int |
zMax() |
int |
zMin() |
protected java.util.TreeSet<BlockIndex> clearedLocations
protected java.util.TreeSet<BlockIndex> builtLocations
public BlueprintBase blueprint
protected boolean done
public BptContext context
public BptBuilderBase(BlueprintBase bluePrint, net.minecraft.world.World world, int x, int y, int z)
public abstract BuildingSlot getNextBlock(net.minecraft.world.World world, TileAbstractBuilder inv)
public boolean buildNextSlot(net.minecraft.world.World world,
TileAbstractBuilder builder,
int x,
int y,
int z)
public int xMin()
xMin in interface IAreaProviderpublic int yMin()
yMin in interface IAreaProviderpublic int zMin()
zMin in interface IAreaProviderpublic int xMax()
xMax in interface IAreaProviderpublic int yMax()
yMax in interface IAreaProviderpublic int zMax()
zMax in interface IAreaProviderpublic void removeFromWorld()
IAreaProviderremoveFromWorld in interface IAreaProviderpublic net.minecraft.util.AxisAlignedBB getBoundingBox()
public void postProcessing(net.minecraft.world.World world)
public BptContext getContext()
public void removeDoneBuilders(TileAbstractBuilder builder)
public boolean isDone(TileAbstractBuilder builder)
protected boolean setupForDestroy(TileAbstractBuilder builder, IBuilderContext context, BuildingSlotBlock slot)
public void saveBuildStateToNBT(net.minecraft.nbt.NBTTagCompound nbt)
public void loadBuildStateToNBT(net.minecraft.nbt.NBTTagCompound nbt)