类 InfinityTridentItem

java.lang.Object
net.minecraft.world.item.Item
net.minecraft.world.item.TridentItem
committee.nova.mods.avaritia.common.item.tools.infinity.InfinityTridentItem
所有已实现的接口:
ISwitchable, IUndamageable, net.minecraft.world.flag.FeatureElement, net.minecraft.world.item.Vanishable, net.minecraft.world.level.ItemLike, net.minecraftforge.common.extensions.IForgeItem

public class InfinityTridentItem extends net.minecraft.world.item.TridentItem implements IUndamageable, ISwitchable
  • 嵌套类概要

    从类继承的嵌套类/接口 net.minecraft.world.item.Item

    net.minecraft.world.item.Item.Properties
  • 字段概要

    字段
    修饰符和类型
    字段
    说明
    static final List<String>
     
    static final byte
     
    static final byte
     
    static final byte
     

    从类继承的字段 net.minecraft.world.item.TridentItem

    BASE_DAMAGE, SHOOT_POWER, THROW_THRESHOLD_TIME

    从类继承的字段 net.minecraft.world.item.Item

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

    从接口继承的字段 net.minecraft.world.flag.FeatureElement

    FILTERED_REGISTRIES
  • 构造器概要

    构造器
    构造器
    说明
     
  • 方法概要

    修饰符和类型
    方法
    说明
    boolean
    canApplyAtEnchantingTable(net.minecraft.world.item.ItemStack stack, net.minecraft.world.item.enchantment.Enchantment enchantment)
     
    boolean
    getCurrentChanneling(net.minecraft.world.item.ItemStack stack)
     
    boolean
    getCurrentShockwave(net.minecraft.world.item.ItemStack stack)
     
    @NotNull net.minecraft.world.item.UseAnim
    getUseAnimation(@NotNull net.minecraft.world.item.ItemStack stack)
     
    int
    getUseDuration(@NotNull net.minecraft.world.item.ItemStack stack)
     
    boolean
    isBookEnchantable(net.minecraft.world.item.ItemStack stack, net.minecraft.world.item.ItemStack book)
     
    boolean
    isEnchantable(@NotNull net.minecraft.world.item.ItemStack stack)
     
    void
    releaseUsing(@NotNull net.minecraft.world.item.ItemStack itemStack, @NotNull net.minecraft.world.level.Level level, @NotNull net.minecraft.world.entity.LivingEntity livingEntity, int timeLeft)
     
    void
    setChanneling(net.minecraft.world.item.ItemStack stack, boolean enabled)
     
    void
    setShockwave(net.minecraft.world.item.ItemStack stack, boolean enabled)
     
    @NotNull net.minecraft.world.InteractionResultHolder<net.minecraft.world.item.ItemStack>
    use(@NotNull net.minecraft.world.level.Level world, net.minecraft.world.entity.player.Player player, @NotNull net.minecraft.world.InteractionHand hand)
     

    从类继承的方法 net.minecraft.world.item.TridentItem

    canAttackBlock, getDefaultAttributeModifiers, getEnchantmentValue, hurtEnemy, mineBlock

    从类继承的方法 net.minecraft.world.item.Item

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

    从类继承的方法 java.lang.Object

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

    从接口继承的方法 net.minecraft.world.flag.FeatureElement

    isEnabled

    从接口继承的方法 net.minecraftforge.common.extensions.IForgeItem

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

    从接口继承的方法 committee.nova.mods.avaritia.api.iface.ISwitchable

    cycleMode, getCurrentModeIndex, isActive, setMode, switchMode, switchToMode
  • 字段详细资料

    • FUNC_MODES

      public static final List<String> FUNC_MODES
    • MODE_NORMAL

      public static final byte MODE_NORMAL
      另请参阅:
    • MODE_LOYALTY

      public static final byte MODE_LOYALTY
      另请参阅:
    • MODE_RIPTIDE

      public static final byte MODE_RIPTIDE
      另请参阅:
  • 构造器详细资料

    • InfinityTridentItem

      public InfinityTridentItem()
  • 方法详细资料

    • getCurrentChanneling

      public boolean getCurrentChanneling(net.minecraft.world.item.ItemStack stack)
    • setChanneling

      public void setChanneling(net.minecraft.world.item.ItemStack stack, boolean enabled)
    • getCurrentShockwave

      public boolean getCurrentShockwave(net.minecraft.world.item.ItemStack stack)
    • setShockwave

      public void setShockwave(net.minecraft.world.item.ItemStack stack, boolean enabled)
    • isEnchantable

      public boolean isEnchantable(@NotNull @NotNull net.minecraft.world.item.ItemStack stack)
      覆盖:
      isEnchantable 在类中 net.minecraft.world.item.Item
    • isBookEnchantable

      public boolean isBookEnchantable(net.minecraft.world.item.ItemStack stack, net.minecraft.world.item.ItemStack book)
      指定者:
      isBookEnchantable 在接口中 net.minecraftforge.common.extensions.IForgeItem
    • canApplyAtEnchantingTable

      public boolean canApplyAtEnchantingTable(net.minecraft.world.item.ItemStack stack, net.minecraft.world.item.enchantment.Enchantment enchantment)
      指定者:
      canApplyAtEnchantingTable 在接口中 net.minecraftforge.common.extensions.IForgeItem
    • getUseAnimation

      @NotNull public @NotNull net.minecraft.world.item.UseAnim getUseAnimation(@NotNull @NotNull net.minecraft.world.item.ItemStack stack)
      覆盖:
      getUseAnimation 在类中 net.minecraft.world.item.TridentItem
    • getUseDuration

      public int getUseDuration(@NotNull @NotNull net.minecraft.world.item.ItemStack stack)
      覆盖:
      getUseDuration 在类中 net.minecraft.world.item.TridentItem
    • releaseUsing

      public void releaseUsing(@NotNull @NotNull net.minecraft.world.item.ItemStack itemStack, @NotNull @NotNull net.minecraft.world.level.Level level, @NotNull @NotNull net.minecraft.world.entity.LivingEntity livingEntity, int timeLeft)
      覆盖:
      releaseUsing 在类中 net.minecraft.world.item.TridentItem
    • use

      @NotNull public @NotNull net.minecraft.world.InteractionResultHolder<net.minecraft.world.item.ItemStack> use(@NotNull @NotNull net.minecraft.world.level.Level world, net.minecraft.world.entity.player.Player player, @NotNull @NotNull net.minecraft.world.InteractionHand hand)
      覆盖:
      use 在类中 net.minecraft.world.item.TridentItem