public class ItemBitBag
extends net.minecraft.item.Item
Modifier and Type | Class and Description |
---|---|
static class |
ItemBitBag.BagPos |
Modifier and Type | Field and Description |
---|---|
static int |
INTS_PER_BIT_TYPE |
static int |
OFFSET_QUANTITY |
static int |
OFFSET_STATE_ID |
Constructor and Description |
---|
ItemBitBag() |
Modifier and Type | Method and Description |
---|---|
void |
addInformation(net.minecraft.item.ItemStack stack,
net.minecraft.entity.player.EntityPlayer playerIn,
java.util.List tooltip,
boolean advanced) |
static void |
cleanupInventory(net.minecraft.entity.player.EntityPlayer player,
net.minecraft.item.ItemStack is) |
static java.util.List<ItemBitBag.BagPos> |
getBags(net.minecraft.inventory.IInventory inv) |
double |
getDurabilityForDisplay(net.minecraft.item.ItemStack stack) |
net.minecraftforge.common.capabilities.ICapabilityProvider |
initCapabilities(net.minecraft.item.ItemStack stack,
net.minecraft.nbt.NBTTagCompound nbt) |
net.minecraft.util.ActionResult<net.minecraft.item.ItemStack> |
onItemRightClick(net.minecraft.world.World worldIn,
net.minecraft.entity.player.EntityPlayer playerIn,
net.minecraft.util.EnumHand hand) |
void |
pickupItems(net.minecraftforge.event.entity.player.EntityItemPickupEvent event) |
void |
pickupItems(net.minecraftforge.fml.common.gameevent.PlayerEvent.ItemPickupEvent event) |
boolean |
showDurabilityBar(net.minecraft.item.ItemStack stack) |
addPropertyOverride, canApplyAtEnchantingTable, canDestroyBlockInCreative, canHarvestBlock, canHarvestBlock, canItemEditBlocks, createEntity, doesSneakBypassUse, func_190903_i, getAnimationParameters, getArmorModel, getArmorTexture, getAttributeModifiers, getByNameOrId, getContainerItem, getContainerItem, getCreativeTab, getCreativeTabs, getDamage, getEntityLifespan, getFontRenderer, getHarvestLevel, getHasSubtypes, getHighlightTip, getIdFromItem, getIsRepairable, getItemAttributeModifiers, getItemById, getItemEnchantability, getItemEnchantability, getItemFromBlock, getItemStackDisplayName, getItemStackLimit, getItemStackLimit, getItemUseAction, getMaxDamage, getMaxDamage, getMaxItemUseDuration, getMetadata, getMetadata, getNBTShareTag, getPropertyGetter, getRarity, getRGBDurabilityForDisplay, getShareTag, getSmeltingExperience, getStrVsBlock, getSubItems, getToolClasses, getUnlocalizedName, getUnlocalizedName, getUnlocalizedNameInefficiently, hasContainerItem, hasContainerItem, hasCustomEntity, hasCustomProperties, hasEffect, hitEntity, isBeaconPayment, isBookEnchantable, isDamageable, isDamaged, isFull3D, isItemTool, isMap, isRepairable, isValidArmor, itemInteractionForEntity, onArmorTick, onBlockDestroyed, onBlockStartBreak, onCreated, onDroppedByPlayer, onEntityItemUpdate, onEntitySwing, onItemUse, onItemUseFinish, onItemUseFirst, onLeftClickEntity, onPlayerStoppedUsing, onUpdate, onUsingTick, rayTrace, registerItemBlock, registerItems, renderHelmetOverlay, setContainerItem, setCreativeTab, setDamage, setFull3D, setHarvestLevel, setHasSubtypes, setMaxDamage, setMaxStackSize, setNoRepair, setUnlocalizedName, shouldCauseBlockBreakReset, shouldCauseReequipAnimation, shouldRotateAroundWhenRendering, updateItemStackNBT
public static final int INTS_PER_BIT_TYPE
public static final int OFFSET_STATE_ID
public static final int OFFSET_QUANTITY
public net.minecraftforge.common.capabilities.ICapabilityProvider initCapabilities(net.minecraft.item.ItemStack stack, net.minecraft.nbt.NBTTagCompound nbt)
initCapabilities
in class net.minecraft.item.Item
public void addInformation(net.minecraft.item.ItemStack stack, net.minecraft.entity.player.EntityPlayer playerIn, java.util.List tooltip, boolean advanced)
addInformation
in class net.minecraft.item.Item
public net.minecraft.util.ActionResult<net.minecraft.item.ItemStack> onItemRightClick(net.minecraft.world.World worldIn, net.minecraft.entity.player.EntityPlayer playerIn, net.minecraft.util.EnumHand hand)
onItemRightClick
in class net.minecraft.item.Item
public void pickupItems(net.minecraftforge.event.entity.player.EntityItemPickupEvent event)
public void pickupItems(net.minecraftforge.fml.common.gameevent.PlayerEvent.ItemPickupEvent event)
public static void cleanupInventory(net.minecraft.entity.player.EntityPlayer player, net.minecraft.item.ItemStack is)
public static java.util.List<ItemBitBag.BagPos> getBags(net.minecraft.inventory.IInventory inv)
public boolean showDurabilityBar(net.minecraft.item.ItemStack stack)
showDurabilityBar
in class net.minecraft.item.Item
public double getDurabilityForDisplay(net.minecraft.item.ItemStack stack)
getDurabilityForDisplay
in class net.minecraft.item.Item