public abstract class BptBuilderBase extends java.lang.Object implements IAreaProvider
| Modifier and Type | Field and Description |
|---|---|
BlueprintBase |
blueprint |
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 |
postProcessing(net.minecraft.world.World world) |
void |
removeDoneBuilders(TileAbstractBuilder builder) |
void |
removeFromWorld()
Remove from the world all objects used to define the area.
|
protected boolean |
setupForDestroy(TileAbstractBuilder builder,
IBuilderContext context,
BuildingSlotBlock slot) |
int |
xMax() |
int |
xMin() |
int |
yMax() |
int |
yMin() |
int |
zMax() |
int |
zMin() |
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)