public final class TravelingItem
extends java.lang.Object
| Modifier and Type | Class and Description |
|---|---|
static class |
TravelingItem.InsertionHandler |
static class |
TravelingItem.TravelingItemCache |
| Modifier and Type | Field and Description |
|---|---|
java.util.EnumSet<net.minecraftforge.common.util.ForgeDirection> |
blacklist |
static TravelingItem.TravelingItemCache |
clientCache |
EnumColor |
color |
static TravelingItem.InsertionHandler |
DEFAULT_INSERTION_HANDLER |
int |
id |
net.minecraftforge.common.util.ForgeDirection |
input |
net.minecraftforge.common.util.ForgeDirection |
output |
static TravelingItem.TravelingItemCache |
serverCache |
protected float |
speed |
boolean |
toCenter |
double |
xCoord |
double |
yCoord |
double |
zCoord |
| Modifier and Type | Method and Description |
|---|---|
boolean |
canBeGroupedWith(TravelingItem otherItem) |
boolean |
equals(java.lang.Object obj) |
static TravelingItem.TravelingItemCache |
getCache() |
net.minecraft.tileentity.TileEntity |
getContainer() |
float |
getEntityBrightness(float f) |
net.minecraft.nbt.NBTTagCompound |
getExtraData() |
TravelingItem.InsertionHandler |
getInsertionHandler() |
net.minecraft.item.ItemStack |
getItemStack() |
float |
getSpeed() |
boolean |
hasExtraData() |
int |
hashCode() |
boolean |
isCorrupted() |
static TravelingItem |
make() |
static TravelingItem |
make(double x,
double y,
double z,
net.minecraft.item.ItemStack stack) |
static TravelingItem |
make(int id) |
static TravelingItem |
make(net.minecraft.nbt.NBTTagCompound nbt) |
void |
movePosition(double x,
double y,
double z) |
void |
reset() |
void |
setContainer(net.minecraft.tileentity.TileEntity container) |
void |
setInsertionHandler(TravelingItem.InsertionHandler handler) |
void |
setInsetionHandler(TravelingItem.InsertionHandler handler)
Deprecated.
|
void |
setItemStack(net.minecraft.item.ItemStack item) |
void |
setPosition(double x,
double y,
double z) |
void |
setSpeed(float speed) |
net.minecraft.entity.item.EntityItem |
toEntityItem() |
java.lang.String |
toString() |
boolean |
tryMergeInto(TravelingItem otherItem) |
void |
writeToNBT(net.minecraft.nbt.NBTTagCompound data) |
public static final TravelingItem.TravelingItemCache serverCache
public static final TravelingItem.TravelingItemCache clientCache
public static final TravelingItem.InsertionHandler DEFAULT_INSERTION_HANDLER
protected float speed
public double xCoord
public double yCoord
public double zCoord
public final int id
public boolean toCenter
public EnumColor color
public net.minecraftforge.common.util.ForgeDirection input
public net.minecraftforge.common.util.ForgeDirection output
public final java.util.EnumSet<net.minecraftforge.common.util.ForgeDirection> blacklist
public static TravelingItem make(int id)
public static TravelingItem make()
public static TravelingItem make(double x, double y, double z, net.minecraft.item.ItemStack stack)
public static TravelingItem make(net.minecraft.nbt.NBTTagCompound nbt)
public static TravelingItem.TravelingItemCache getCache()
public void setPosition(double x,
double y,
double z)
public void movePosition(double x,
double y,
double z)
public float getSpeed()
public void setSpeed(float speed)
public net.minecraft.item.ItemStack getItemStack()
public void setItemStack(net.minecraft.item.ItemStack item)
public net.minecraft.tileentity.TileEntity getContainer()
public void setContainer(net.minecraft.tileentity.TileEntity container)
public net.minecraft.nbt.NBTTagCompound getExtraData()
public boolean hasExtraData()
@Deprecated public void setInsetionHandler(TravelingItem.InsertionHandler handler)
public void setInsertionHandler(TravelingItem.InsertionHandler handler)
public TravelingItem.InsertionHandler getInsertionHandler()
public void reset()
public void writeToNBT(net.minecraft.nbt.NBTTagCompound data)
public net.minecraft.entity.item.EntityItem toEntityItem()
public float getEntityBrightness(float f)
public boolean isCorrupted()
public boolean canBeGroupedWith(TravelingItem otherItem)
public boolean tryMergeInto(TravelingItem otherItem)
public int hashCode()
hashCode in class java.lang.Objectpublic boolean equals(java.lang.Object obj)
equals in class java.lang.Objectpublic java.lang.String toString()
toString in class java.lang.Object