public class SchematicDoor extends SchematicBlock
Schematic.BuildingStageblock, defaultPermission, meta, storedRequirements| Constructor and Description |
|---|
SchematicDoor(net.minecraft.item.ItemStack stack) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
doNotBuild()
Return true if the block should not be placed to the world.
|
void |
getRequirementsForPlacement(IBuilderContext context,
java.util.LinkedList<net.minecraft.item.ItemStack> requirements)
Returns the requirements needed to build this block.
|
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,
using the stack in parameters
|
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.
|
canPlaceInWorld, doNotUse, getBuildingPermission, getBuildStage, readBlockFromNBT, readRequirementsFromNBT, setBlockInWorld, writeBlockToNBT, writeRequirementsToNBTbuildTime, getEnergyRequirement, getStacksToDisplay, idsToBlueprint, idsToWorld, postProcessing, translateToBlueprint, translateToWorld, useItempublic void getRequirementsForPlacement(IBuilderContext context, java.util.LinkedList<net.minecraft.item.ItemStack> requirements)
SchematicgetRequirementsForPlacement in class SchematicBlockpublic void storeRequirements(IBuilderContext context, int x, int y, int z)
SchematicstoreRequirements in class SchematicBlockpublic void rotateLeft(IBuilderContext context)
SchematicrotateLeft in class Schematicpublic boolean doNotBuild()
SchematicdoNotBuild in class Schematicpublic boolean isAlreadyBuilt(IBuilderContext context, int x, int y, int z)
SchematicisAlreadyBuilt in class SchematicBlockpublic void placeInWorld(IBuilderContext context, int x, int y, int z, java.util.LinkedList<net.minecraft.item.ItemStack> stacks)
SchematicplaceInWorld in class SchematicBlockpublic void initializeFromObjectAt(IBuilderContext context, int x, int y, int z)
SchematicinitializeFromObjectAt in class Schematicpublic 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