public class EscritoireGame extends java.lang.Object implements INbtWritable, INbtReadable, IStreamable
| Modifier and Type | Class and Description |
|---|---|
static class |
EscritoireGame.Status |
| Modifier and Type | Field and Description |
|---|---|
static int |
BOUNTY_MAX |
| Constructor and Description |
|---|
EscritoireGame() |
| Modifier and Type | Method and Description |
|---|---|
void |
choose(int tokenIndex) |
int |
getBountyLevel() |
long |
getLastUpdate() |
int |
getSampleSize(int slotCount) |
EscritoireGame.Status |
getStatus() |
EscritoireGameToken |
getToken(int index) |
void |
initialize(net.minecraft.item.ItemStack specimen) |
void |
probe(net.minecraft.item.ItemStack specimen,
net.minecraft.inventory.IInventory inventory,
int startSlot,
int slotCount) |
void |
readData(PacketBufferForestry data) |
void |
readFromNBT(net.minecraft.nbt.NBTTagCompound nbt) |
void |
reset() |
void |
writeData(PacketBufferForestry data) |
net.minecraft.nbt.NBTTagCompound |
writeToNBT(net.minecraft.nbt.NBTTagCompound nbttagcompound) |
public static final int BOUNTY_MAX
@Nullable public EscritoireGameToken getToken(int index)
public EscritoireGame.Status getStatus()
public long getLastUpdate()
public net.minecraft.nbt.NBTTagCompound writeToNBT(net.minecraft.nbt.NBTTagCompound nbttagcompound)
writeToNBT in interface INbtWritablepublic void readFromNBT(net.minecraft.nbt.NBTTagCompound nbt)
readFromNBT in interface INbtReadablepublic void writeData(PacketBufferForestry data)
writeData in interface IStreamablepublic void readData(PacketBufferForestry data) throws java.io.IOException
readData in interface IStreamablejava.io.IOExceptionpublic void initialize(net.minecraft.item.ItemStack specimen)
public void probe(net.minecraft.item.ItemStack specimen,
net.minecraft.inventory.IInventory inventory,
int startSlot,
int slotCount)
public void reset()
public void choose(int tokenIndex)
public int getBountyLevel()
public int getSampleSize(int slotCount)