类 InfinityBowItem
java.lang.Object
net.minecraft.world.item.Item
net.minecraft.world.item.ProjectileWeaponItem
net.minecraft.world.item.BowItem
committee.nova.mods.avaritia.common.item.tools.infinity.InfinityBowItem
- 所有已实现的接口:
IBowTransform,InitEnchantItem,ISwitchable,IUndamageable,net.minecraft.world.flag.FeatureElement,net.minecraft.world.item.Vanishable,net.minecraft.world.level.ItemLike,net.minecraftforge.common.extensions.IForgeItem
public class InfinityBowItem
extends net.minecraft.world.item.BowItem
implements ISwitchable, InitEnchantItem, IUndamageable, IBowTransform
Description:
-
嵌套类概要
从类继承的嵌套类/接口 net.minecraft.world.item.Item
net.minecraft.world.item.Item.Properties -
字段概要
从类继承的字段 net.minecraft.world.item.BowItem
DEFAULT_RANGE, MAX_DRAW_DURATION从类继承的字段 net.minecraft.world.item.ProjectileWeaponItem
ARROW_ONLY, ARROW_OR_FIREWORK从类继承的字段 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 -
构造器概要
构造器 -
方法概要
修饰符和类型方法说明voidappendHoverText(@NotNull net.minecraft.world.item.ItemStack stack, @Nullable net.minecraft.world.level.Level level, List<net.minecraft.network.chat.Component> tooltipComponents, @NotNull net.minecraft.world.item.TooltipFlag isAdvanced) @Nullable net.minecraft.world.entity.EntitycreateEntity(net.minecraft.world.level.Level level, net.minecraft.world.entity.Entity location, net.minecraft.world.item.ItemStack stack) intgetEnchantmentValue(net.minecraft.world.item.ItemStack stack) intgetInitEnchantLevel(net.minecraft.world.item.ItemStack stack, net.minecraft.world.item.enchantment.Enchantment enchantment) @NotNull net.minecraft.world.item.UseAnimgetUseAnimation(@NotNull net.minecraft.world.item.ItemStack pStack) intgetUseDuration(@NotNull net.minecraft.world.item.ItemStack stack) booleanhasCustomEntity(net.minecraft.world.item.ItemStack stack) booleanisDamageable(net.minecraft.world.item.ItemStack stack) booleanisEnchantable(@NotNull net.minecraft.world.item.ItemStack pStack) booleanisFoil(@NotNull net.minecraft.world.item.ItemStack pStack) booleanonEntityItemUpdate(net.minecraft.world.item.ItemStack stack, net.minecraft.world.entity.item.ItemEntity entity) voidreleaseUsing(@NotNull net.minecraft.world.item.ItemStack stack, @NotNull net.minecraft.world.level.Level level, @NotNull net.minecraft.world.entity.LivingEntity entity, int timeLeft) @NotNull net.minecraft.world.InteractionResultHolder<net.minecraft.world.item.ItemStack>use(@NotNull net.minecraft.world.level.Level level, net.minecraft.world.entity.player.Player player, @NotNull net.minecraft.world.InteractionHand hand) 从类继承的方法 net.minecraft.world.item.BowItem
customArrow, getAllSupportedProjectiles, getDefaultProjectileRange, getPowerForTime从类继承的方法 net.minecraft.world.item.ProjectileWeaponItem
getEnchantmentValue, getHeldProjectile, getSupportedHeldProjectiles从类继承的方法 net.minecraft.world.item.Item
asItem, builtInRegistryHolder, byBlock, byId, canAttackBlock, canBeDepleted, canBeHurtBy, canFitInsideContainerItems, finishUsingItem, getBarColor, getBarWidth, getCraftingRemainingItem, getDefaultAttributeModifiers, getDefaultInstance, getDescription, getDescriptionId, getDescriptionId, getDestroySpeed, getDrinkingSound, getEatingSound, getFoodProperties, getId, getMaxDamage, getMaxStackSize, getName, getOrCreateDescriptionId, getPlayerPOVHitResult, getRarity, getRenderPropertiesInternal, getTooltipImage, hasCraftingRemainingItem, hurtEnemy, initializeClient, interactLivingEntity, inventoryTick, isBarVisible, isComplex, isCorrectToolForDrops, isEdible, isFireResistant, isRepairable, isValidRepairItem, mineBlock, 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从接口继承的方法 committee.nova.mods.avaritia.api.iface.IBowTransform
getToolTransform从接口继承的方法 net.minecraftforge.common.extensions.IForgeItem
canApplyAtEnchantingTable, canContinueUsing, canDisableShield, canElytraFly, canEquip, canGrindstoneRepair, canPerformAction, canWalkOnPowderedSnow, damageItem, doesSneakBypassUse, elytraFlightTick, getAllEnchantments, getArmorTexture, getAttributeModifiers, getBurnTime, getCraftingRemainingItem, getCreatorModId, getDamage, getDefaultTooltipHideFlags, getEnchantmentLevel, getEntityLifespan, getEquipmentSlot, getFoodProperties, getHighlightTip, getMaxDamage, getMaxStackSize, getShareTag, getSweepHitBox, getXpRepairRatio, hasCraftingRemainingItem, initCapabilities, isBookEnchantable, isCorrectToolForDrops, isDamaged, isEnderMask, isNotReplaceableByPickAction, isPiglinCurrency, makesPiglinsNeutral, onArmorTick, onBlockStartBreak, onDestroyed, onDroppedByPlayer, onEntitySwing, onHorseArmorTick, onInventoryTick, onItemUseFirst, onLeftClickEntity, onStopUsing, readShareTag, setDamage, shouldCauseBlockBreakReset, shouldCauseReequipAnimation从接口继承的方法 committee.nova.mods.avaritia.api.iface.ISwitchable
cycleMode, getCurrentModeIndex, isActive, setMode, switchMode, switchToMode
-
构造器详细资料
-
InfinityBowItem
public InfinityBowItem()
-
-
方法详细资料
-
isFoil
public boolean isFoil(@NotNull @NotNull net.minecraft.world.item.ItemStack pStack) - 覆盖:
isFoil在类中net.minecraft.world.item.Item
-
isDamageable
public boolean isDamageable(net.minecraft.world.item.ItemStack stack) - 指定者:
isDamageable在接口中net.minecraftforge.common.extensions.IForgeItem
-
onEntityItemUpdate
public boolean onEntityItemUpdate(net.minecraft.world.item.ItemStack stack, net.minecraft.world.entity.item.ItemEntity entity) - 指定者:
onEntityItemUpdate在接口中net.minecraftforge.common.extensions.IForgeItem
-
isEnchantable
public boolean isEnchantable(@NotNull @NotNull net.minecraft.world.item.ItemStack pStack) - 覆盖:
isEnchantable在类中net.minecraft.world.item.Item
-
getEnchantmentValue
public int getEnchantmentValue(net.minecraft.world.item.ItemStack stack) - 指定者:
getEnchantmentValue在接口中net.minecraftforge.common.extensions.IForgeItem
-
getUseDuration
public int getUseDuration(@NotNull @NotNull net.minecraft.world.item.ItemStack stack) - 覆盖:
getUseDuration在类中net.minecraft.world.item.BowItem
-
getUseAnimation
@NotNull public @NotNull net.minecraft.world.item.UseAnim getUseAnimation(@NotNull @NotNull net.minecraft.world.item.ItemStack pStack) - 覆盖:
getUseAnimation在类中net.minecraft.world.item.BowItem
-
createEntity
@Nullable public @Nullable net.minecraft.world.entity.Entity createEntity(net.minecraft.world.level.Level level, net.minecraft.world.entity.Entity location, net.minecraft.world.item.ItemStack stack) - 指定者:
createEntity在接口中net.minecraftforge.common.extensions.IForgeItem
-
hasCustomEntity
public boolean hasCustomEntity(net.minecraft.world.item.ItemStack stack) - 指定者:
hasCustomEntity在接口中net.minecraftforge.common.extensions.IForgeItem
-
getInitEnchantLevel
public int getInitEnchantLevel(net.minecraft.world.item.ItemStack stack, net.minecraft.world.item.enchantment.Enchantment enchantment) - 指定者:
getInitEnchantLevel在接口中InitEnchantItem
-
appendHoverText
public void appendHoverText(@NotNull @NotNull net.minecraft.world.item.ItemStack stack, @Nullable @Nullable net.minecraft.world.level.Level level, List<net.minecraft.network.chat.Component> tooltipComponents, @NotNull @NotNull net.minecraft.world.item.TooltipFlag isAdvanced) - 覆盖:
appendHoverText在类中net.minecraft.world.item.Item
-
use
@NotNull public @NotNull net.minecraft.world.InteractionResultHolder<net.minecraft.world.item.ItemStack> use(@NotNull @NotNull net.minecraft.world.level.Level level, net.minecraft.world.entity.player.Player player, @NotNull @NotNull net.minecraft.world.InteractionHand hand) - 覆盖:
use在类中net.minecraft.world.item.BowItem
-
releaseUsing
public void releaseUsing(@NotNull @NotNull net.minecraft.world.item.ItemStack stack, @NotNull @NotNull net.minecraft.world.level.Level level, @NotNull @NotNull net.minecraft.world.entity.LivingEntity entity, int timeLeft) - 覆盖:
releaseUsing在类中net.minecraft.world.item.BowItem
-