public abstract class AssemblyProgram
extends java.lang.Object
| Modifier and Type | Class and Description |
|---|---|
static class |
AssemblyProgram.EnumAssemblyProblem |
static class |
AssemblyProgram.EnumMachine |
| Modifier and Type | Field and Description |
|---|---|
AssemblyProgram.EnumAssemblyProblem |
curProblem |
| Constructor and Description |
|---|
AssemblyProgram() |
| Modifier and Type | Method and Description |
|---|---|
void |
addProgramProblem(java.util.List<net.minecraft.util.text.ITextComponent> problemList)
You can add problem messages here if an assembly program has a problem with a certain step.
|
abstract boolean |
executeStep(TileEntityAssemblyController.AssemblySystem system)
Executes the given step of the assembly program.
|
static AssemblyProgram |
fromRecipe(AssemblyRecipe recipe) |
abstract ItemAssemblyProgram |
getItem() |
abstract java.util.Collection<AssemblyRecipe> |
getRecipeList(net.minecraft.world.World world) |
abstract AssemblyProgram.EnumMachine[] |
getRequiredMachines()
Retrieves the needed machines for this Assembly Program.
|
AssemblyRecipe.AssemblyProgramType |
getType() |
abstract void |
readFromNBT(net.minecraft.nbt.CompoundNBT tag) |
abstract void |
writeToNBT(net.minecraft.nbt.CompoundNBT tag) |
public AssemblyProgram.EnumAssemblyProblem curProblem
public AssemblyRecipe.AssemblyProgramType getType()
public abstract AssemblyProgram.EnumMachine[] getRequiredMachines()
public abstract boolean executeStep(TileEntityAssemblyController.AssemblySystem system)
public abstract void writeToNBT(net.minecraft.nbt.CompoundNBT tag)
public abstract void readFromNBT(net.minecraft.nbt.CompoundNBT tag)
public abstract java.util.Collection<AssemblyRecipe> getRecipeList(net.minecraft.world.World world)
public void addProgramProblem(java.util.List<net.minecraft.util.text.ITextComponent> problemList)
problemList - list to add topublic static AssemblyProgram fromRecipe(AssemblyRecipe recipe)
public abstract ItemAssemblyProgram getItem()