public final class TechnologyNBT
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
SimpleInventory |
inventory |
SimpleInventory |
leftToCompute |
| Modifier and Type | Method and Description |
|---|---|
boolean |
canBeResearched(Technology t) |
float |
getProgress() |
Technology |
getResearchedTechnology() |
static TechnologyNBT |
getTechnology(net.minecraft.entity.player.EntityPlayer holder,
net.minecraft.item.ItemStack stack) |
boolean |
isKnown(Technology t) |
void |
loadFromNBT(net.minecraft.nbt.NBTTagCompound nbt) |
void |
startResearch(Technology t) |
void |
update() |
void |
writeToNBT(net.minecraft.nbt.NBTTagCompound nbt) |
public SimpleInventory inventory
public SimpleInventory leftToCompute
public boolean isKnown(Technology t)
public boolean canBeResearched(Technology t)
public void update()
public void writeToNBT(net.minecraft.nbt.NBTTagCompound nbt)
public void loadFromNBT(net.minecraft.nbt.NBTTagCompound nbt)
public float getProgress()
public static TechnologyNBT getTechnology(net.minecraft.entity.player.EntityPlayer holder, net.minecraft.item.ItemStack stack)
public void startResearch(Technology t)
public Technology getResearchedTechnology()