public class SchematicPipe extends SchematicTile
Schematic.BuildingStagetileNBTblock, defaultPermission, meta, storedRequirements| Constructor and Description |
|---|
SchematicPipe() |
| Modifier and Type | Method and Description |
|---|---|
BuildingPermission |
getBuildingPermission()
Return the maximium building permission for blueprint containing this
schematic.
|
Schematic.BuildingStage |
getBuildStage()
Return the stage where this schematic has to be built.
|
void |
idsToBlueprint(MappingRegistry registry)
Translates blocks and item ids to the blueprint referential
|
void |
idsToWorld(MappingRegistry registry)
Translates blocks and item ids to the world referential
|
void |
initializeFromObjectAt(IBuilderContext context,
int x,
int y,
int z)
Initializes a schematic for blueprint according to an objet placed on {x,
y, z} on the world.
|
boolean |
isAlreadyBuilt(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 |
placeInWorld(IBuilderContext context,
int x,
int y,
int z,
java.util.LinkedList<net.minecraft.item.ItemStack> stacks)
Places the block in the world, at the location specified in 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 |
readSchematicFromNBT(net.minecraft.nbt.NBTTagCompound nbt,
MappingRegistry registry)
Loads this schematic from the blueprint NBT.
|
void |
rotateLeft(IBuilderContext context)
Perform a 90 degree rotation to the slot.
|
void |
storeRequirements(IBuilderContext context,
int x,
int y,
int z)
Write specific requirements coming from the world to the blueprint.
|
void |
writeSchematicToNBT(net.minecraft.nbt.NBTTagCompound nbt,
MappingRegistry registry)
Saves this schematic to the blueprint NBT.
|
buildTimecanPlaceInWorld, doNotUse, getRequirementsForPlacement, readBlockFromNBT, readRequirementsFromNBT, setBlockInWorld, writeBlockToNBT, writeRequirementsToNBTdoNotBuild, getEnergyRequirement, getStacksToDisplay, translateToBlueprint, translateToWorld, useItempublic boolean isAlreadyBuilt(IBuilderContext context, int x, int y, int z)
SchematicisAlreadyBuilt in class SchematicBlockpublic void rotateLeft(IBuilderContext context)
SchematicrotateLeft in class Schematicpublic void placeInWorld(IBuilderContext context, int x, int y, int z, java.util.LinkedList<net.minecraft.item.ItemStack> stacks)
SchematicTileplaceInWorld in class SchematicTilepublic void initializeFromObjectAt(IBuilderContext context, int x, int y, int z)
SchematicinitializeFromObjectAt in class SchematicTilepublic void storeRequirements(IBuilderContext context, int x, int y, int z)
SchematicstoreRequirements in class SchematicTilepublic void postProcessing(IBuilderContext context, int x, int y, int z)
SchematicpostProcessing in class Schematicpublic Schematic.BuildingStage getBuildStage()
SchematicgetBuildStage in class SchematicBlockpublic void idsToBlueprint(MappingRegistry registry)
SchematicidsToBlueprint in class SchematicTilepublic void idsToWorld(MappingRegistry registry)
SchematicidsToWorld in class SchematicTilepublic void writeSchematicToNBT(net.minecraft.nbt.NBTTagCompound nbt,
MappingRegistry registry)
SchematicwriteSchematicToNBT in class SchematicTilepublic void readSchematicFromNBT(net.minecraft.nbt.NBTTagCompound nbt,
MappingRegistry registry)
SchematicreadSchematicFromNBT in class SchematicTilepublic BuildingPermission getBuildingPermission()
SchematicgetBuildingPermission in class SchematicBlock