public class SchematicFluid extends SchematicBlock
Schematic.BuildingStageblock, defaultPermission, meta, storedRequirements| Constructor and Description |
|---|
SchematicFluid(net.minecraft.item.ItemStack bucketStack) |
| Modifier and Type | Method and Description |
|---|---|
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)
Returns the flying stacks to display in the builder animation.
|
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 |
rotateLeft(IBuilderContext context)
Perform a 90 degree rotation to the slot.
|
void |
writeRequirementsToBlueprint(IBuilderContext context,
int x,
int y,
int z)
Write specific requirements coming from the world to the blueprint.
|
void |
writeRequirementsToWorld(IBuilderContext context,
java.util.LinkedList<net.minecraft.item.ItemStack> requirements)
Returns the requirements needed to build this block.
|
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
|
getBuildingPermission, getBuildStage, readFromNBT, writeToNBTdoNotUse, getEnergyRequirement, idsToBlueprint, idsToWorld, translateToBlueprint, translateToWorld, useItem, writeToBlueprintpublic void writeRequirementsToWorld(IBuilderContext context, java.util.LinkedList<net.minecraft.item.ItemStack> requirements)
SchematicwriteRequirementsToWorld in class SchematicBlockpublic void writeRequirementsToBlueprint(IBuilderContext context, int x, int y, int z)
SchematicwriteRequirementsToBlueprint in class SchematicBlockpublic boolean isAlreadyBuilt(IBuilderContext context, int x, int y, int z)
SchematicisAlreadyBuilt in class SchematicBlockpublic void rotateLeft(IBuilderContext context)
SchematicrotateLeft in class Schematicpublic boolean doNotBuild()
SchematicdoNotBuild in class Schematicpublic void writeToWorld(IBuilderContext context, int x, int y, int z, java.util.LinkedList<net.minecraft.item.ItemStack> stacks)
SchematicwriteToWorld 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)
SchematicgetStacksToDisplay in class Schematic