public class DeltaInt
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
java.util.List<buildcraft.lib.delta.DeltaInt.DeltaIntEntry> |
changingEntries |
java.lang.String |
name |
DeltaManager.EnumNetworkVisibility |
visibility |
| Constructor and Description |
|---|
DeltaInt(java.lang.String name,
DeltaManager.EnumNetworkVisibility visibility,
DeltaManager manager) |
| Modifier and Type | Method and Description |
|---|---|
void |
addDelta(long start,
long end,
int delta)
Adds a delta value
|
double |
getDynamic(float partialTicks) |
int |
getStatic(boolean start) |
void |
readFromNBT(net.minecraft.nbt.NBTTagCompound nbt) |
void |
setValue(int value)
Forgets all existing deltas and sets the values to the new value.
|
void |
tick() |
net.minecraft.nbt.NBTTagCompound |
writeToNBT() |
public final java.lang.String name
public final DeltaManager.EnumNetworkVisibility visibility
public final java.util.List<buildcraft.lib.delta.DeltaInt.DeltaIntEntry> changingEntries
public DeltaInt(java.lang.String name,
DeltaManager.EnumNetworkVisibility visibility,
DeltaManager manager)
public void tick()
public double getDynamic(float partialTicks)
public int getStatic(boolean start)
public void addDelta(long start,
long end,
int delta)
start - end - delta - public void setValue(int value)
value - public void readFromNBT(net.minecraft.nbt.NBTTagCompound nbt)
public net.minecraft.nbt.NBTTagCompound writeToNBT()