public class SchematicTile extends SchematicBlock
Schematic.BuildingStage| Modifier and Type | Field and Description |
|---|---|
net.minecraft.nbt.NBTTagCompound |
tileNBT
This tree contains additional data to be stored in the blueprint.
|
block, defaultPermission, meta, storedRequirements| Constructor and Description |
|---|
SchematicTile() |
| Modifier and Type | Method and Description |
|---|---|
int |
buildTime()
Returns the number of cycles to wait after building this schematic.
|
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.
|
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 |
readSchematicFromNBT(net.minecraft.nbt.NBTTagCompound nbt,
MappingRegistry registry)
Loads this schematic from the blueprint NBT.
|
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.
|
doNotUse, getBuildingPermission, getBuildStage, getRequirementsForPlacement, isAlreadyBuilt, readBlockFromNBT, readRequirementsFromNBT, setBlockInWorld, writeBlockToNBT, writeRequirementsToNBTdoNotBuild, getEnergyRequirement, getStacksToDisplay, postProcessing, rotateLeft, translateToBlueprint, translateToWorld, useItempublic net.minecraft.nbt.NBTTagCompound tileNBT
public void idsToBlueprint(MappingRegistry registry)
SchematicidsToBlueprint in class Schematicpublic void idsToWorld(MappingRegistry registry)
SchematicidsToWorld in class Schematicpublic void placeInWorld(IBuilderContext context, int x, int y, int z, java.util.LinkedList<net.minecraft.item.ItemStack> stacks)
placeInWorld in class SchematicBlockpublic void initializeFromObjectAt(IBuilderContext context, int x, int y, int z)
SchematicinitializeFromObjectAt in class Schematicpublic void storeRequirements(IBuilderContext context, int x, int y, int z)
SchematicstoreRequirements in class SchematicBlockpublic void writeSchematicToNBT(net.minecraft.nbt.NBTTagCompound nbt,
MappingRegistry registry)
SchematicwriteSchematicToNBT in class SchematicBlockpublic void readSchematicFromNBT(net.minecraft.nbt.NBTTagCompound nbt,
MappingRegistry registry)
SchematicreadSchematicFromNBT in class SchematicBlock