public class SchematicMask extends SchematicBlockBase
Schematic.BuildingStage| Modifier and Type | Field and Description |
|---|---|
boolean |
isConcrete |
| Constructor and Description |
|---|
SchematicMask() |
SchematicMask(boolean isConcrete) |
| Modifier and Type | Method and Description |
|---|---|
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 |
writeSchematicToNBT(net.minecraft.nbt.NBTTagCompound nbt,
MappingRegistry registry)
Saves this schematic to the blueprint NBT.
|
buildTime, doNotBuild, doNotUse, getBuildingPermission, getBuildStage, getEnergyRequirement, getRequirementsForPlacement, getStacksToDisplay, idsToBlueprint, idsToWorld, initializeFromObjectAt, postProcessing, rotateLeft, storeRequirements, translateToBlueprint, translateToWorld, useItempublic SchematicMask()
public SchematicMask(boolean isConcrete)
public void placeInWorld(IBuilderContext context, int x, int y, int z, java.util.LinkedList<net.minecraft.item.ItemStack> stacks)
SchematicplaceInWorld in class Schematicpublic boolean isAlreadyBuilt(IBuilderContext context, int x, int y, int z)
SchematicisAlreadyBuilt in class Schematicpublic void writeSchematicToNBT(net.minecraft.nbt.NBTTagCompound nbt,
MappingRegistry registry)
SchematicwriteSchematicToNBT in class Schematicpublic void readSchematicFromNBT(net.minecraft.nbt.NBTTagCompound nbt,
MappingRegistry registry)
SchematicreadSchematicFromNBT in class Schematic