public class SchematicPipe extends SchematicTile
Schematic.BuildingStagecptblock, defaultPermission, meta, storedRequirements| Constructor and Description |
|---|
SchematicPipe() |
| Modifier and Type | Method and Description |
|---|---|
BuildingPermission |
getBuildingPermission()
Return the building permission for blueprint containing this schematic.
|
Schematic.BuildingStage |
getBuildStage()
Return the stage where this schematic has to be built.
|
void |
idsToSchematic(MappingRegistry registry) |
void |
idsToWorld(MappingRegistry registry) |
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) |
void |
rotateLeft(IBuilderContext context)
Perform a 90 degree rotation to the slot.
|
void |
writeRequirementsToSchematic(IBuilderContext context,
int x,
int y,
int z) |
void |
writeToNBT(net.minecraft.nbt.NBTTagCompound nbt,
MappingRegistry registry) |
void |
writeToSchematic(IBuilderContext context,
int x,
int y,
int z)
Initializes a slot from the blueprint according to an objet placed on {x,
y, z} on the world.
|
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.
|
doNotBuild, writeRequirementsToBuildergetEnergyRequirement, getStacksToDisplay, inventorySlotsToSchematic, inventorySlotsToWorld, translateToSchematic, 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 writeToSchematic(IBuilderContext context, int x, int y, int z)
SchematicwriteToSchematic in class SchematicTilepublic void writeRequirementsToSchematic(IBuilderContext context, int x, int y, int z)
writeRequirementsToSchematic 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 idsToSchematic(MappingRegistry registry)
idsToSchematic in class SchematicTilepublic void idsToWorld(MappingRegistry registry)
idsToWorld in class SchematicTilepublic void writeToNBT(net.minecraft.nbt.NBTTagCompound nbt,
MappingRegistry registry)
writeToNBT in class SchematicTilepublic void readFromNBT(net.minecraft.nbt.NBTTagCompound nbt,
MappingRegistry registry)
readFromNBT in class SchematicTilepublic BuildingPermission getBuildingPermission()
SchematicgetBuildingPermission in class SchematicBlock