public class TransportedItemStack extends java.lang.Object implements java.lang.Comparable<TransportedItemStack>
| Modifier and Type | Field and Description |
|---|---|
int |
angle |
float |
beltPosition |
int |
insertedAt |
net.minecraft.util.Direction |
insertedFrom |
boolean |
locked |
boolean |
lockedExternally |
float |
prevBeltPosition |
float |
prevSideOffset |
InWorldProcessing.Type |
processedBy |
int |
processingTime |
float |
sideOffset |
net.minecraft.item.ItemStack |
stack |
| Constructor and Description |
|---|
TransportedItemStack(net.minecraft.item.ItemStack stack) |
| Modifier and Type | Method and Description |
|---|---|
int |
compareTo(TransportedItemStack o) |
TransportedItemStack |
copy() |
TransportedItemStack |
getSimilar() |
float |
getTargetSideOffset() |
static TransportedItemStack |
read(net.minecraft.nbt.CompoundNBT nbt) |
net.minecraft.nbt.CompoundNBT |
serializeNBT() |
public net.minecraft.item.ItemStack stack
public float beltPosition
public float sideOffset
public int angle
public int insertedAt
public net.minecraft.util.Direction insertedFrom
public boolean locked
public boolean lockedExternally
public float prevBeltPosition
public float prevSideOffset
public InWorldProcessing.Type processedBy
public int processingTime
public TransportedItemStack(net.minecraft.item.ItemStack stack)
public float getTargetSideOffset()
public int compareTo(TransportedItemStack o)
compareTo in interface java.lang.Comparable<TransportedItemStack>public TransportedItemStack getSimilar()
public TransportedItemStack copy()
public net.minecraft.nbt.CompoundNBT serializeNBT()
public static TransportedItemStack read(net.minecraft.nbt.CompoundNBT nbt)