public class ItemBackPack
extends info.u_team.u_team_core.item.UItem
Constructor and Description |
---|
ItemBackPack(java.lang.String name) |
Modifier and Type | Method and Description |
---|---|
int |
getColor(net.minecraft.item.ItemStack stack) |
int |
getMetadata(int damage) |
net.minecraft.nbt.NBTTagCompound |
getNBTShareTag(net.minecraft.item.ItemStack stack) |
void |
getSubItems(net.minecraft.creativetab.CreativeTabs tab,
net.minecraft.util.NonNullList<net.minecraft.item.ItemStack> items) |
java.lang.String |
getTranslationKey(net.minecraft.item.ItemStack stack) |
boolean |
hasColor(net.minecraft.item.ItemStack stack) |
net.minecraft.util.ActionResult<net.minecraft.item.ItemStack> |
onItemRightClick(net.minecraft.world.World world,
net.minecraft.entity.player.EntityPlayer player,
net.minecraft.util.EnumHand hand) |
void |
registerModel() |
void |
removeColor(net.minecraft.item.ItemStack stack) |
void |
setColor(net.minecraft.item.ItemStack stack,
int color) |
boolean |
shouldCauseReequipAnimation(net.minecraft.item.ItemStack oldStack,
net.minecraft.item.ItemStack newStack,
boolean slotChanged) |
addInformation, addPropertyOverride, canApplyAtEnchantingTable, canDestroyBlockInCreative, canDisableShield, canHarvestBlock, canHarvestBlock, canItemEditBlocks, createEntity, doesSneakBypassUse, getAnimationParameters, getArmorModel, getArmorTexture, getAttributeModifiers, getByNameOrId, getContainerItem, getContainerItem, getCreativeTab, getCreativeTabs, getCreatorModId, getDamage, getDefaultInstance, getDestroySpeed, getDurabilityForDisplay, getEntityLifespan, getEquipmentSlot, getFontRenderer, getHarvestLevel, getHasSubtypes, getHighlightTip, getHorseArmorTexture, getHorseArmorType, getIdFromItem, getIsRepairable, getItemAttributeModifiers, getItemBurnTime, getItemById, getItemEnchantability, getItemEnchantability, getItemFromBlock, getItemStackDisplayName, getItemStackLimit, getItemStackLimit, getItemUseAction, getMaxDamage, getMaxDamage, getMaxItemUseDuration, getMetadata, getPropertyGetter, getRarity, getRGBDurabilityForDisplay, getShareTag, getSmeltingExperience, getTileEntityItemStackRenderer, getToolClasses, getTranslationKey, getUnlocalizedNameInefficiently, hasContainerItem, hasContainerItem, hasCustomEntity, hasCustomProperties, hasEffect, hitEntity, initCapabilities, isBeaconPayment, isBookEnchantable, isDamageable, isDamaged, isEnchantable, isFull3D, isInCreativeTab, isMap, isRepairable, isShield, isValidArmor, itemInteractionForEntity, onArmorTick, onBlockDestroyed, onBlockStartBreak, onCreated, onDroppedByPlayer, onEntityItemUpdate, onEntitySwing, onHorseArmorTick, onItemUse, onItemUseFinish, onItemUseFirst, onLeftClickEntity, onPlayerStoppedUsing, onUpdate, onUsingTick, rayTrace, readNBTShareTag, registerItemBlock, registerItems, renderHelmetOverlay, setContainerItem, setCreativeTab, setDamage, setFull3D, setHarvestLevel, setHasSubtypes, setMaxDamage, setMaxStackSize, setNoRepair, setTileEntityItemStackRenderer, setTranslationKey, shouldCauseBlockBreakReset, shouldRotateAroundWhenRendering, showDurabilityBar, updateItemStackNBT
getRegistryName, getRegistryType, setRegistryName, setRegistryName, setRegistryName
public void registerModel()
registerModel
in interface info.u_team.u_team_core.api.IModelProvider
registerModel
in class info.u_team.u_team_core.item.UItem
public net.minecraft.util.ActionResult<net.minecraft.item.ItemStack> onItemRightClick(net.minecraft.world.World world, net.minecraft.entity.player.EntityPlayer player, net.minecraft.util.EnumHand hand)
onItemRightClick
in class net.minecraft.item.Item
public int getMetadata(int damage)
getMetadata
in class net.minecraft.item.Item
public boolean shouldCauseReequipAnimation(net.minecraft.item.ItemStack oldStack, net.minecraft.item.ItemStack newStack, boolean slotChanged)
shouldCauseReequipAnimation
in class net.minecraft.item.Item
public int getColor(net.minecraft.item.ItemStack stack)
public void setColor(net.minecraft.item.ItemStack stack, int color)
public void removeColor(net.minecraft.item.ItemStack stack)
public boolean hasColor(net.minecraft.item.ItemStack stack)
public void getSubItems(net.minecraft.creativetab.CreativeTabs tab, net.minecraft.util.NonNullList<net.minecraft.item.ItemStack> items)
getSubItems
in class net.minecraft.item.Item
public java.lang.String getTranslationKey(net.minecraft.item.ItemStack stack)
getTranslationKey
in class net.minecraft.item.Item
public net.minecraft.nbt.NBTTagCompound getNBTShareTag(net.minecraft.item.ItemStack stack)
getNBTShareTag
in class net.minecraft.item.Item