public class SchematicFluid extends SchematicBlock
block, meta, storedRequirements| Constructor and Description |
|---|
SchematicFluid(net.minecraft.item.ItemStack bucketStack) |
| 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 |
doNotBuild()
Return true if the block should not be placed to the world.
|
java.util.LinkedList<net.minecraft.item.ItemStack> |
getStacksToDisplay(java.util.LinkedList<net.minecraft.item.ItemStack> stackConsumed) |
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 |
readFromWorld(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 |
rotateLeft(IBuilderContext context)
Perform a 90 degree rotation to the slot.
|
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.
|
compareTo, readFromNBT, writeToNBTwriteCompletedgetRequirements, inventorySlotsToBlueprint, inventorySlotsToBlueprint, inventorySlotsToWorld, inventorySlotsToWorld, transformToBlueprint, transformToWorld, useItempublic void addRequirements(IBuilderContext context, java.util.LinkedList<net.minecraft.item.ItemStack> requirements)
SchematicBlockaddRequirements in class SchematicBlockpublic boolean isAlreadyBuilt(IBuilderContext context, int x, int y, int z)
SchematicBlockisAlreadyBuilt in class SchematicBlockpublic void rotateLeft(IBuilderContext context)
SchematicBlockrotateLeft in class SchematicBlockpublic boolean doNotBuild()
SchematicBlockdoNotBuild in class SchematicBlockpublic void readFromWorld(IBuilderContext context, int x, int y, int z)
SchematicBlockreadFromWorld in class SchematicBlockpublic void writeToWorld(IBuilderContext context, int x, int y, int z, java.util.LinkedList<net.minecraft.item.ItemStack> stacks)
SchematicBlockwriteToWorld in class SchematicBlockpublic void postProcessing(IBuilderContext context, int x, int y, int z)
SchematicpostProcessing in class Schematicpublic java.util.LinkedList<net.minecraft.item.ItemStack> getStacksToDisplay(java.util.LinkedList<net.minecraft.item.ItemStack> stackConsumed)
getStacksToDisplay in class Schematic