public class SchematicMask extends SchematicBlockBase
| Modifier and Type | Field and Description |
|---|---|
boolean |
isConcrete |
| Constructor and Description |
|---|
SchematicMask() |
SchematicMask(boolean isConcrete) |
| Modifier and Type | Method and Description |
|---|---|
void |
addRequirements(IBuilderContext context,
java.util.LinkedList<net.minecraft.item.ItemStack> requirements)
Returns the requirements needed to build this block.
|
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 |
readFromNBT(net.minecraft.nbt.NBTTagCompound nbt,
MappingRegistry registry) |
void |
writeCompleted(IBuilderContext context,
int x,
int y,
int z,
double completed) |
void |
writeToNBT(net.minecraft.nbt.NBTTagCompound nbt,
MappingRegistry registry) |
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,
using the stack in parameters
|
doNotBuildgetRequirements, getStacksToDisplay, inventorySlotsToBlueprint, inventorySlotsToBlueprint, inventorySlotsToWorld, inventorySlotsToWorld, postProcessing, readFromWorld, rotateLeft, transformToBlueprint, transformToWorld, useItempublic SchematicMask()
public SchematicMask(boolean isConcrete)
public void writeToWorld(IBuilderContext context, int x, int y, int z, java.util.LinkedList<net.minecraft.item.ItemStack> stacks)
SchematicwriteToWorld in class Schematicpublic boolean isAlreadyBuilt(IBuilderContext context, int x, int y, int z)
SchematicisAlreadyBuilt in class Schematicpublic void addRequirements(IBuilderContext context, java.util.LinkedList<net.minecraft.item.ItemStack> requirements)
SchematicaddRequirements in class Schematicpublic void writeCompleted(IBuilderContext context, int x, int y, int z, double completed)
writeCompleted in class SchematicBlockBasepublic void writeToNBT(net.minecraft.nbt.NBTTagCompound nbt,
MappingRegistry registry)
writeToNBT in class Schematicpublic void readFromNBT(net.minecraft.nbt.NBTTagCompound nbt,
MappingRegistry registry)
readFromNBT in class Schematic