| Constructor and Description |
|---|
ItemBackpack(BackpackTypes type) |
ItemBackpack(int id,
int size,
int rowLength,
java.lang.String fancyName,
int upgradePoints) |
| Modifier and Type | Method and Description |
|---|---|
void |
addInformation(net.minecraft.item.ItemStack stack,
net.minecraft.entity.player.EntityPlayer player,
java.util.List list,
boolean advanced) |
double |
getDurabilityForDisplay(net.minecraft.item.ItemStack stack) |
double |
getFullness(net.minecraft.item.ItemStack stack)
Gets the fullness of the backpack for the durability bar.
|
int |
getGuiId() |
int |
getId() |
java.lang.String |
getName() |
int |
getRowLength() |
int |
getSize() |
int |
getUpgradePoints() |
net.minecraft.item.ItemStack |
onItemRightClick(net.minecraft.item.ItemStack stack,
net.minecraft.world.World world,
net.minecraft.entity.player.EntityPlayer player) |
boolean |
onItemUseFirst(net.minecraft.item.ItemStack stack,
net.minecraft.entity.player.EntityPlayer player,
net.minecraft.world.World world,
net.minecraft.util.BlockPos pos,
net.minecraft.util.EnumFacing side,
float hitX,
float hitY,
float hitZ) |
boolean |
showDurabilityBar(net.minecraft.item.ItemStack stack) |
canHarvestBlock, canHarvestBlock, canItemEditBlocks, createEntity, doesSneakBypassUse, getArmorModel, getArmorTexture, getAttributeModifiers, getByNameOrId, getChestGenBase, getColorFromItemStack, getContainerItem, getContainerItem, getCreativeTab, getCreativeTabs, getDamage, getDigSpeed, getEntityLifespan, getFontRenderer, getHarvestLevel, getHasSubtypes, getIdFromItem, getIsRepairable, getItemAttributeModifiers, getItemById, getItemEnchantability, getItemEnchantability, getItemFromBlock, getItemStackDisplayName, getItemStackLimit, getItemStackLimit, getItemUseAction, getMaxDamage, getMaxDamage, getMaxItemUseDuration, getMetadata, getMetadata, getModel, getMovingObjectPositionFromPlayer, getPotionEffect, getRarity, getShareTag, getSmeltingExperience, getStrVsBlock, getSubItems, getToolClasses, getUnlocalizedName, getUnlocalizedName, getUnlocalizedNameInefficiently, hasContainerItem, hasContainerItem, hasCustomEntity, hasEffect, hitEntity, isBeaconPayment, isBookEnchantable, isDamageable, isDamaged, isFull3D, isItemTool, isMap, isPotionIngredient, isRepairable, isValidArmor, itemInteractionForEntity, onArmorTick, onBlockDestroyed, onBlockStartBreak, onCreated, onDroppedByPlayer, onEntityItemUpdate, onEntitySwing, onItemUse, onItemUseFinish, onLeftClickEntity, onPlayerStoppedUsing, onUpdate, onUsingTick, registerItemBlock, registerItems, renderHelmetOverlay, setContainerItem, setCreativeTab, setDamage, setFull3D, setHarvestLevel, setHasSubtypes, setMaxDamage, setMaxStackSize, setNoRepair, setPotionEffect, setUnlocalizedName, shouldCauseReequipAnimation, shouldRotateAroundWhenRendering, updateItemStackNBTpublic ItemBackpack(int id,
int size,
int rowLength,
java.lang.String fancyName,
int upgradePoints)
public ItemBackpack(BackpackTypes type)
public boolean showDurabilityBar(net.minecraft.item.ItemStack stack)
showDurabilityBar in class net.minecraft.item.Itempublic double getDurabilityForDisplay(net.minecraft.item.ItemStack stack)
getDurabilityForDisplay in class net.minecraft.item.Itempublic boolean onItemUseFirst(net.minecraft.item.ItemStack stack,
net.minecraft.entity.player.EntityPlayer player,
net.minecraft.world.World world,
net.minecraft.util.BlockPos pos,
net.minecraft.util.EnumFacing side,
float hitX,
float hitY,
float hitZ)
onItemUseFirst in class net.minecraft.item.Itempublic net.minecraft.item.ItemStack onItemRightClick(net.minecraft.item.ItemStack stack,
net.minecraft.world.World world,
net.minecraft.entity.player.EntityPlayer player)
onItemRightClick in class net.minecraft.item.Itempublic void addInformation(net.minecraft.item.ItemStack stack,
net.minecraft.entity.player.EntityPlayer player,
java.util.List list,
boolean advanced)
addInformation in class net.minecraft.item.Itempublic double getFullness(net.minecraft.item.ItemStack stack)
IBackpackgetFullness in interface IBackpackstack - - The Backpack itempublic int getUpgradePoints()
getUpgradePoints in interface IBackpackpublic int getRowLength()
getRowLength in interface IBackpack