public class SchematicFluid extends SchematicBlock
Schematic.BuildingStageblock, defaultPermission, meta, storedRequirements| Constructor and Description |
|---|
SchematicFluid(net.minecraftforge.fluids.FluidStack fluidStack) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
doNotBuild()
Return true if the block should not be placed to the world.
|
int |
getEnergyRequirement(java.util.LinkedList<net.minecraft.item.ItemStack> stacksUsed)
Returns the amount of energy required to build this slot, depends on the
stacks selected for the build.
|
void |
getRequirementsForPlacement(IBuilderContext context,
java.util.LinkedList<net.minecraft.item.ItemStack> requirements)
Returns the requirements needed to build this block.
|
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 |
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 |
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 |
storeRequirements(IBuilderContext context,
int x,
int y,
int z)
Write specific requirements coming from the world to the blueprint.
|
canPlaceInWorld, doNotUse, getBuildingPermission, getBuildStage, readBlockFromNBT, readRequirementsFromNBT, readSchematicFromNBT, setBlockInWorld, writeBlockToNBT, writeRequirementsToNBT, writeSchematicToNBTbuildTime, idsToBlueprint, idsToWorld, initializeFromObjectAt, translateToBlueprint, translateToWorld, useItempublic SchematicFluid(net.minecraftforge.fluids.FluidStack fluidStack)
public void getRequirementsForPlacement(IBuilderContext context, java.util.LinkedList<net.minecraft.item.ItemStack> requirements)
SchematicgetRequirementsForPlacement in class SchematicBlockpublic void storeRequirements(IBuilderContext context, int x, int y, int z)
SchematicstoreRequirements 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 placeInWorld(IBuilderContext context, int x, int y, int z, java.util.LinkedList<net.minecraft.item.ItemStack> stacks)
SchematicplaceInWorld 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 Schematicpublic int getEnergyRequirement(java.util.LinkedList<net.minecraft.item.ItemStack> stacksUsed)
SchematicgetEnergyRequirement in class Schematic