Class ItemInvertedPotentia

java.lang.Object
net.minecraft.world.item.Item
org.cyclops.evilcraft.item.ItemInvertedPotentia
All Implemented Interfaces:
net.minecraft.world.flag.FeatureElement, net.minecraft.world.level.ItemLike, net.minecraftforge.common.extensions.IForgeItem, IItemEmpowerable

public class ItemInvertedPotentia extends net.minecraft.world.item.Item implements IItemEmpowerable
An inverted Potentia Sphere.
  • Nested Class Summary

    Nested classes/interfaces inherited from class net.minecraft.world.item.Item

    net.minecraft.world.item.Item.Properties
  • Field Summary

    Fields inherited from class net.minecraft.world.item.Item

    BASE_ATTACK_DAMAGE_UUID, BASE_ATTACK_SPEED_UUID, BY_BLOCK, canRepair, EAT_DURATION, MAX_BAR_WIDTH, MAX_STACK_SIZE

    Fields inherited from interface net.minecraft.world.flag.FeatureElement

    FILTERED_REGISTRIES
  • Constructor Summary

    Constructors
    Constructor
    Description
    ItemInvertedPotentia(net.minecraft.world.item.Item.Properties properties, boolean empowered)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    net.minecraft.world.entity.Entity
    createEntity(net.minecraft.world.level.Level world, net.minecraft.world.entity.Entity location, net.minecraft.world.item.ItemStack itemStack)
     
    net.minecraft.world.item.ItemStack
    empower(net.minecraft.world.item.ItemStack itemStack)
    Set the given ItemStack as an empowered item.
    boolean
    hasCustomEntity(net.minecraft.world.item.ItemStack itemStack)
     
    boolean
    isEmpowered(net.minecraft.world.item.ItemStack itemStack)
    If the given ItemStack is an empowered item.
    boolean
    isFoil(net.minecraft.world.item.ItemStack itemStack)
     

    Methods inherited from class net.minecraft.world.item.Item

    appendHoverText, asItem, builtInRegistryHolder, byBlock, byId, canAttackBlock, canBeDepleted, canBeHurtBy, canFitInsideContainerItems, finishUsingItem, getBarColor, getBarWidth, getCraftingRemainingItem, getDefaultAttributeModifiers, getDefaultInstance, getDescription, getDescriptionId, getDescriptionId, getDestroySpeed, getDrinkingSound, getEatingSound, getEnchantmentValue, getEquipSound, getFoodProperties, getId, getMaxDamage, getMaxStackSize, getName, getOrCreateDescriptionId, getPlayerPOVHitResult, getRarity, getRenderPropertiesInternal, getTooltipImage, getUseAnimation, getUseDuration, hasCraftingRemainingItem, hurtEnemy, initializeClient, interactLivingEntity, inventoryTick, isBarVisible, isComplex, isCorrectToolForDrops, isEdible, isEnchantable, isFireResistant, isRepairable, isValidRepairItem, mineBlock, onCraftedBy, onDestroyed, onUseTick, overrideOtherStackedOnMe, overrideStackedOnOther, releaseUsing, requiredFeatures, shouldOverrideMultiplayerNbt, toString, use, useOn, useOnRelease, verifyTagAfterLoad

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait

    Methods inherited from interface net.minecraft.world.flag.FeatureElement

    isEnabled

    Methods inherited from interface net.minecraftforge.common.extensions.IForgeItem

    canApplyAtEnchantingTable, canContinueUsing, canDisableShield, canElytraFly, canEquip, canPerformAction, canWalkOnPowderedSnow, damageItem, doesSneakBypassUse, elytraFlightTick, getAllEnchantments, getArmorTexture, getAttributeModifiers, getBurnTime, getCraftingRemainingItem, getCreatorModId, getDamage, getDefaultTooltipHideFlags, getEnchantmentLevel, getEnchantmentValue, getEntityLifespan, getEquipmentSlot, getFoodProperties, getHighlightTip, getMaxDamage, getMaxStackSize, getShareTag, getSweepHitBox, getXpRepairRatio, hasCraftingRemainingItem, initCapabilities, isBookEnchantable, isCorrectToolForDrops, isDamageable, isDamaged, isEnderMask, isNotReplaceableByPickAction, isPiglinCurrency, makesPiglinsNeutral, onArmorTick, onBlockStartBreak, onDestroyed, onDroppedByPlayer, onEntityItemUpdate, onEntitySwing, onHorseArmorTick, onItemUseFirst, onLeftClickEntity, onUsingTick, readShareTag, setDamage, shouldCauseBlockBreakReset, shouldCauseReequipAnimation
  • Constructor Details

    • ItemInvertedPotentia

      public ItemInvertedPotentia(net.minecraft.world.item.Item.Properties properties, boolean empowered)
  • Method Details

    • isFoil

      public boolean isFoil(net.minecraft.world.item.ItemStack itemStack)
      Overrides:
      isFoil in class net.minecraft.world.item.Item
    • empower

      public net.minecraft.world.item.ItemStack empower(net.minecraft.world.item.ItemStack itemStack)
      Description copied from interface: IItemEmpowerable
      Set the given ItemStack as an empowered item.
      Specified by:
      empower in interface IItemEmpowerable
      Parameters:
      itemStack - The ItemStack to check.
      Returns:
      The empowered item.
    • isEmpowered

      public boolean isEmpowered(net.minecraft.world.item.ItemStack itemStack)
      Description copied from interface: IItemEmpowerable
      If the given ItemStack is an empowered item.
      Specified by:
      isEmpowered in interface IItemEmpowerable
      Parameters:
      itemStack - The ItemStack to check.
      Returns:
      If it is an empowered item.
    • hasCustomEntity

      public boolean hasCustomEntity(net.minecraft.world.item.ItemStack itemStack)
      Specified by:
      hasCustomEntity in interface net.minecraftforge.common.extensions.IForgeItem
    • createEntity

      public net.minecraft.world.entity.Entity createEntity(net.minecraft.world.level.Level world, net.minecraft.world.entity.Entity location, net.minecraft.world.item.ItemStack itemStack)
      Specified by:
      createEntity in interface net.minecraftforge.common.extensions.IForgeItem