public class SchematicRail extends SchematicBlock
block, meta, storedRequirements| Constructor and Description |
|---|
SchematicRail() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
isValid(IBuilderContext context,
int x,
int y,
int z)
Return true if the block on the world correspond to the block stored in
the blueprint at the location given by the slot.
|
void |
postProcessing(IBuilderContext context,
int x,
int y,
int z)
Called on a block when the blueprint has finished to place all the
blocks.
|
void |
rotateLeft(IBuilderContext context)
Perform a 90 degree rotation to the slot.
|
void |
writeToWorld(IBuilderContext context,
int x,
int y,
int z)
Places the block in the world, at the location specified in the slot.
|
addRequirements, compareTo, ignoreBuilding, readFromNBT, readFromWorld, useItem, writeToNBTgetRequirementspublic void rotateLeft(IBuilderContext context)
SchematicBlockrotateLeft in class SchematicBlockpublic void writeToWorld(IBuilderContext context, int x, int y, int z)
SchematicBlockwriteToWorld in class SchematicBlockpublic boolean isValid(IBuilderContext context, int x, int y, int z)
SchematicBlockisValid in class SchematicBlockpublic void postProcessing(IBuilderContext context, int x, int y, int z)
SchematicpostProcessing in class Schematic