public class InvigoratingPendant
extends org.cyclops.cyclopscore.config.configurable.ConfigurableDamageIndicatedItemFluidContainer
implements baubles.api.IBauble
canPickUp, eConfigcomponent, fluidATTACK_DAMAGE_MODIFIER, ATTACK_SPEED_MODIFIER, bFull3D, canRepair, hasSubtypes, itemRand, maxStackSize, REGISTRY| Constructor and Description |
|---|
InvigoratingPendant(org.cyclops.cyclopscore.config.extendedconfig.ExtendedConfig<org.cyclops.cyclopscore.config.extendedconfig.ItemConfig> eConfig) |
| 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.
|
baubles.api.BaubleType |
getBaubleType(net.minecraft.item.ItemStack itemStack) |
static InvigoratingPendant |
getInstance()
Get the unique instance.
|
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, isPickupFluids, isPlaceFluids, onItemRightClick, onItemUseFirst, setPlaceFluidscanDrain, drain, fill, getDurabilityForDisplay, getFluid, getInfo, getSubItems, provideInformation, showDurabilityBargetCapacity, getFluid, initCapabilities, setCapacityaddPropertyOverride, canHarvestBlock, canHarvestBlock, createEntity, getAnimationParameters, getArmorModel, getArmorTexture, getAttributeModifiers, getByNameOrId, getContainerItem, getContainerItem, getCreativeTab, getCreativeTabs, getDamage, getEntityLifespan, getFontRenderer, getHarvestLevel, getHarvestLevel, getHasSubtypes, getHighlightTip, getIdFromItem, getIsRepairable, getItemAttributeModifiers, getItemById, getItemEnchantability, getItemEnchantability, getItemFromBlock, getItemStackDisplayName, getItemStackLimit, getItemStackLimit, getItemUseAction, getMaxDamage, getMaxDamage, getMaxItemUseDuration, getMetadata, getMetadata, getPropertyGetter, getRarity, getShareTag, getSmeltingExperience, getStrVsBlock, 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, onLeftClickEntity, onPlayerStoppedUsing, onUsingTick, rayTrace, registerItemBlock, registerItems, renderHelmetOverlay, setContainerItem, setCreativeTab, setDamage, setFull3D, setHarvestLevel, setHasSubtypes, setMaxDamage, setMaxStackSize, setNoRepair, setUnlocalizedName, shouldCauseBlockBreakReset, shouldCauseReequipAnimation, shouldRotateAroundWhenRendering, updateItemStackNBTpublic InvigoratingPendant(org.cyclops.cyclopscore.config.extendedconfig.ExtendedConfig<org.cyclops.cyclopscore.config.extendedconfig.ItemConfig> eConfig)
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)
canEquip in interface baubles.api.IBaublepublic boolean canUnequip(net.minecraft.item.ItemStack itemStack,
net.minecraft.entity.EntityLivingBase entity)
canUnequip in interface baubles.api.IBaublepublic baubles.api.BaubleType getBaubleType(net.minecraft.item.ItemStack itemStack)
getBaubleType in interface baubles.api.IBaublepublic void onEquipped(net.minecraft.item.ItemStack itemStack,
net.minecraft.entity.EntityLivingBase entity)
onEquipped in interface baubles.api.IBaublepublic void onUnequipped(net.minecraft.item.ItemStack itemStack,
net.minecraft.entity.EntityLivingBase entity)
onUnequipped in interface baubles.api.IBaublepublic void onWornTick(net.minecraft.item.ItemStack itemStack,
net.minecraft.entity.EntityLivingBase entity)
onWornTick in interface baubles.api.IBauble