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
|
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 |
postProcessing(IBuilderContext context,
int x,
int y,
int z)
Called on a block when the blueprint has finished to place all the
blocks.
|
void |
readFromNBT(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 |
writeRequirementsToBlueprint(IBuilderContext context,
int x,
int y,
int z)
Write specific requirements coming from the world to the blueprint.
|
void |
writeToBlueprint(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.
|
void |
writeToNBT(net.minecraft.nbt.NBTTagCompound nbt,
MappingRegistry registry)
Saves this schematic to the blueprint NBT.
|
void |
writeToWorld(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.
|
writeRequirementsToWorlddoNotBuild, doNotUse, 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 writeToWorld(IBuilderContext context, int x, int y, int z, java.util.LinkedList<net.minecraft.item.ItemStack> stacks)
SchematicTilewriteToWorld in class SchematicTilepublic void writeToBlueprint(IBuilderContext context, int x, int y, int z)
SchematicwriteToBlueprint in class SchematicTilepublic void writeRequirementsToBlueprint(IBuilderContext context, int x, int y, int z)
SchematicwriteRequirementsToBlueprint 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 writeToNBT(net.minecraft.nbt.NBTTagCompound nbt,
MappingRegistry registry)
SchematicwriteToNBT in class SchematicTilepublic void readFromNBT(net.minecraft.nbt.NBTTagCompound nbt,
MappingRegistry registry)
SchematicreadFromNBT in class SchematicTilepublic BuildingPermission getBuildingPermission()
SchematicgetBuildingPermission in class SchematicBlock