public class TARDISBuilderInner
extends java.lang.Object
Constructor and Description |
---|
TARDISBuilderInner(TARDIS plugin) |
Modifier and Type | Method and Description |
---|---|
void |
buildInner(SCHEMATIC schm,
org.bukkit.World world,
int dbID,
org.bukkit.entity.Player p,
org.bukkit.Material wall_type,
org.bukkit.Material floor_type,
boolean tips)
Builds the inside of the TARDIS.
|
java.util.List<org.bukkit.Chunk> |
getChunks(org.bukkit.World w,
int x,
int z,
int wid,
int len)
Checks whether a chunk is available to build a TARDIS in.
|
public TARDISBuilderInner(TARDIS plugin)
public void buildInner(SCHEMATIC schm, org.bukkit.World world, int dbID, org.bukkit.entity.Player p, org.bukkit.Material wall_type, org.bukkit.Material floor_type, boolean tips)
schm
- the name of the schematic file to use can be BUDGET, BIGGER, CORAL, ELEVENTH, TWELFTH,
THIRTEENTH, REDSTONE, STEAMPUNK, DELUXE, PLANK, TOM, ARS, WAR, PYRAMID, MASTER or a CUSTOM
name.world
- the world where the TARDIS is to be built.dbID
- the unique key of the record for this TARDIS in the database.p
- an instance of the player who owns the TARDIS.wall_type
- a material type determined from the TARDIS seed block, or the middle block in the TARDIS
creation stack, this material determines the makeup of the TARDIS walls.floor_type
- a material type determined from the TARDIS seed block, or 35 (if TARDIS was made via the
creation stack), this material determines the makeup of the TARDIS floors.tips
- a boolean determining where this TARDIS will be built -------- false:own world, underground -
true:default world--------public java.util.List<org.bukkit.Chunk> getChunks(org.bukkit.World w, int x, int z, int wid, int len)
w
- the world the chunk is in.x
- the x coordinate of the chunk.z
- the z coordinate of the chunk.wid
- the width of the schematic.len
- the length of the schematic.