public class InvigoratingPendant extends ConfigurableDamageIndicatedItemFluidContainer
canPickUp, eConfigcomponent, fluidbFull3D, canRepair, delegate, field_111210_e, hasSubtypes, iconString, itemIcon, itemRand, itemRegistry, maxStackSizeBLOCK_PREFIX, INFO_PREFIX, ITEM_PREFIX| Modifier and Type | Method and Description |
|---|---|
boolean |
canEquip(net.minecraft.item.ItemStack itemStack,
net.minecraft.entity.EntityLivingBase entity) |
boolean |
canUnequip(net.minecraft.item.ItemStack itemStack,
net.minecraft.entity.EntityLivingBase entity) |
void |
clearBadEffects(net.minecraft.item.ItemStack itemStack,
net.minecraft.entity.player.EntityPlayer player)
Clear the bad effects of given player.
|
BaubleType |
getBaubleType(net.minecraft.item.ItemStack itemStack) |
static InvigoratingPendant |
getInstance()
Get the unique instance.
|
static void |
initInstance(ExtendedConfig<ItemConfig> eConfig)
Initialise the configurable.
|
void |
onEquipped(net.minecraft.item.ItemStack itemStack,
net.minecraft.entity.EntityLivingBase entity) |
void |
onUnequipped(net.minecraft.item.ItemStack itemStack,
net.minecraft.entity.EntityLivingBase entity) |
void |
onUpdate(net.minecraft.item.ItemStack itemStack,
net.minecraft.world.World world,
net.minecraft.entity.Entity entity,
int par4,
boolean par5) |
void |
onWornTick(net.minecraft.item.ItemStack itemStack,
net.minecraft.entity.EntityLivingBase entity) |
addInformation, canConsume, canItemEditBlocks, consume, doesSneakBypassUse, drainFromOthers, getConfig, getIconString, isPickupFluids, isPlaceFluids, onItemRightClick, onItemUseFirst, registerIcons, setPlaceFluidscanDrain, drain, fill, getDurabilityForDisplay, getFluid, getInfo, getSubItems, provideInformation, showDurabilityBargetCapacity, getFluid, setCapacitycanHarvestBlock, createEntity, doesContainerItemLeaveCraftingGrid, func_150893_a, func_150897_b, getArmorModel, getArmorTexture, getAttributeModifiers, getChestGenBase, getColorFromItemStack, getContainerItem, getContainerItem, getCreativeTab, getCreativeTabs, getDamage, getDigSpeed, getDisplayDamage, getEntityLifespan, getFontRenderer, getHarvestLevel, getHasSubtypes, getIcon, getIcon, getIconFromDamage, getIconFromDamageForRenderPass, getIconIndex, getIdFromItem, getIsRepairable, getItemAttributeModifiers, getItemById, getItemEnchantability, getItemEnchantability, getItemFromBlock, getItemStackDisplayName, getItemStackLimit, getItemStackLimit, getItemUseAction, getMaxDamage, getMaxDamage, getMaxItemUseDuration, getMetadata, getMovingObjectPositionFromPlayer, getPotionEffect, getRarity, getRenderPasses, getShareTag, getSmeltingExperience, getSpriteNumber, getToolClasses, getUnlocalizedName, getUnlocalizedName, getUnlocalizedNameInefficiently, hasContainerItem, hasContainerItem, hasCustomEntity, hasEffect, hasEffect, hitEntity, isBeaconPayment, isBookEnchantable, isDamageable, isDamaged, isFull3D, isItemTool, isMap, isPotionIngredient, isRepairable, isValidArmor, itemInteractionForEntity, onArmorTick, onBlockDestroyed, onBlockStartBreak, onCreated, onDroppedByPlayer, onEaten, onEntityItemUpdate, onEntitySwing, onItemUse, onLeftClickEntity, onPlayerStoppedUsing, onUsingTick, registerItems, renderHelmetOverlay, requiresMultipleRenderPasses, setContainerItem, setCreativeTab, setDamage, setFull3D, setHarvestLevel, setHasSubtypes, setMaxDamage, setMaxStackSize, setNoRepair, setPotionEffect, setTextureName, setUnlocalizedName, shouldRotateAroundWhenRenderingpublic static void initInstance(ExtendedConfig<ItemConfig> eConfig)
eConfig - The config.public static InvigoratingPendant getInstance()
public void clearBadEffects(net.minecraft.item.ItemStack itemStack,
net.minecraft.entity.player.EntityPlayer player)
itemStack - The pendant to drain.player - The player to receive the powers.public void onUpdate(net.minecraft.item.ItemStack itemStack,
net.minecraft.world.World world,
net.minecraft.entity.Entity entity,
int par4,
boolean par5)
onUpdate in class net.minecraft.item.Itempublic boolean canEquip(net.minecraft.item.ItemStack itemStack,
net.minecraft.entity.EntityLivingBase entity)
public boolean canUnequip(net.minecraft.item.ItemStack itemStack,
net.minecraft.entity.EntityLivingBase entity)
public BaubleType getBaubleType(net.minecraft.item.ItemStack itemStack)
public void onEquipped(net.minecraft.item.ItemStack itemStack,
net.minecraft.entity.EntityLivingBase entity)
public void onUnequipped(net.minecraft.item.ItemStack itemStack,
net.minecraft.entity.EntityLivingBase entity)
public void onWornTick(net.minecraft.item.ItemStack itemStack,
net.minecraft.entity.EntityLivingBase entity)