public class BuildingSlotEntity extends BuildingSlot
| Modifier and Type | Field and Description |
|---|---|
SchematicEntity |
schematic |
int |
sequenceNumber
This value is set by builders to identify in which order entities are
being built.
|
stackConsumed| Constructor and Description |
|---|
BuildingSlotEntity() |
| Modifier and Type | Method and Description |
|---|---|
Position |
getDestination() |
double |
getEnergyRequirement() |
java.util.LinkedList<net.minecraft.item.ItemStack> |
getRequirements(IBuilderContext context) |
SchematicEntity |
getSchematic() |
boolean |
isAlreadyBuilt(IBuilderContext context) |
void |
readFromNBT(net.minecraft.nbt.NBTTagCompound nbt,
MappingRegistry registry) |
void |
writeToNBT(net.minecraft.nbt.NBTTagCompound nbt,
MappingRegistry registry) |
void |
writeToWorld(IBuilderContext context) |
addStackConsumed, getStacksToDisplay, postProcessing, writeCompletedpublic SchematicEntity schematic
public int sequenceNumber
public void writeToWorld(IBuilderContext context)
writeToWorld in class BuildingSlotpublic Position getDestination()
getDestination in class BuildingSlotpublic java.util.LinkedList<net.minecraft.item.ItemStack> getRequirements(IBuilderContext context)
getRequirements in class BuildingSlotpublic SchematicEntity getSchematic()
getSchematic in class BuildingSlotpublic boolean isAlreadyBuilt(IBuilderContext context)
isAlreadyBuilt in class BuildingSlotpublic void writeToNBT(net.minecraft.nbt.NBTTagCompound nbt,
MappingRegistry registry)
writeToNBT in class BuildingSlotpublic void readFromNBT(net.minecraft.nbt.NBTTagCompound nbt,
MappingRegistry registry)
readFromNBT in class BuildingSlotpublic double getEnergyRequirement()
getEnergyRequirement in class BuildingSlot