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) |
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 |
writeRequirementsToBuilder(IBuilderContext context,
java.util.LinkedList<net.minecraft.item.ItemStack> requirements)
Returns the requirements needed to build this block.
|
void |
writeRequirementsToSchematic(IBuilderContext context,
int x,
int y,
int z) |
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, writeToNBT, writeToSchematicgetEnergyRequirement, idsToSchematic, idsToWorld, inventorySlotsToSchematic, inventorySlotsToWorld, translateToSchematic, translateToWorld, useItempublic void writeRequirementsToBuilder(IBuilderContext context, java.util.LinkedList<net.minecraft.item.ItemStack> requirements)
SchematicwriteRequirementsToBuilder in class SchematicBlockpublic void writeRequirementsToSchematic(IBuilderContext context, int x, int y, int z)
writeRequirementsToSchematic 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 SchematicBlockpublic 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)
getStacksToDisplay in class Schematic