类 ArbalestItem

java.lang.Object
net.minecraft.item.Item
net.minecraft.item.RangedWeaponItem
net.minecraft.item.CrossbowItem
pers.saikel0rado1iu.silk.api.ropestick.ranged.CrossbowLikeItem
pers.saikel0rado1iu.spontaneousreplace.item.ArbalestItem
所有已实现的接口:
net.fabricmc.fabric.api.item.v1.FabricItem, net.minecraft.item.ItemConvertible, net.minecraft.resource.featuretoggle.ToggleableFeature, pers.saikel0rado1iu.silk.api.ropestick.component.DynamicComponent

public class ArbalestItem extends pers.saikel0rado1iu.silk.api.ropestick.ranged.CrossbowLikeItem

劲弩物品

一种比普通弩更强的基础远程武器
从以下版本开始:
1.0.0
  • 嵌套类概要

    从类继承的嵌套类/接口 pers.saikel0rado1iu.silk.api.ropestick.ranged.CrossbowLikeItem

    pers.saikel0rado1iu.silk.api.ropestick.ranged.CrossbowLikeItem.StateSounds

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

    net.minecraft.item.CrossbowItem.LoadingSounds

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

    net.minecraft.item.Item.Settings, net.minecraft.item.Item.TooltipContext
  • 字段概要

    字段
    修饰符和类型
    字段
    说明
    static final net.minecraft.item.CrossbowItem.LoadingSounds
     
    static final int
     
    static final net.minecraft.item.CrossbowItem.LoadingSounds
     

    从类继承的字段 pers.saikel0rado1iu.silk.api.ropestick.ranged.CrossbowLikeItem

    DEFAULT_LOADING_SOUNDS, tempStack

    从类继承的字段 net.minecraft.item.CrossbowItem

    charged, field_49258, loaded, RANGE

    从类继承的字段 net.minecraft.item.RangedWeaponItem

    BOW_PROJECTILES, CROSSBOW_HELD_PROJECTILES

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

    BASE_ATTACK_DAMAGE_MODIFIER_ID, BASE_ATTACK_SPEED_MODIFIER_ID, BLOCK_ITEMS, DEFAULT_MAX_COUNT, ITEM_BAR_STEPS, MAX_MAX_COUNT

    从接口继承的字段 net.minecraft.resource.featuretoggle.ToggleableFeature

    FEATURE_ENABLED_REGISTRY_KEYS
  • 构造器概要

    构造器
    构造器
    说明
    ArbalestItem(net.minecraft.item.Item.Settings settings)
     
  • 方法概要

    修饰符和类型
    方法
    说明
    net.minecraft.component.ComponentMap
    dynamicComponents(net.minecraft.item.ItemStack stack)
     
    pers.saikel0rado1iu.silk.api.ropestick.component.type.RangedWeaponComponent
    rangedWeapon(Optional<net.minecraft.item.ItemStack> stack)
     
    pers.saikel0rado1iu.silk.api.ropestick.ranged.CrossbowLikeItem.StateSounds
    stateSounds(net.minecraft.item.ItemStack stack)
     
    void
    triggerCriteria(net.minecraft.server.network.ServerPlayerEntity serverPlayer, net.minecraft.item.ItemStack ranged, net.minecraft.entity.projectile.ProjectileEntity projectile)
    触发进度条件

    从类继承的方法 pers.saikel0rado1iu.silk.api.ropestick.ranged.CrossbowLikeItem

    getHeldProjectiles, getMaxUseTime, getProjectiles, getUsingProgress, load, loadProjectile, onStoppedUsing, postShot, shoot, shootAll, usageTick, use

    从类继承的方法 net.minecraft.item.CrossbowItem

    appendTooltip, calcVelocity, createArrowEntity, getPullTime, getRange, getSoundPitch, getUseAction, getWeaponStackDamage, isCharged, isUsedOnRelease, loadProjectiles, shootAll

    从类继承的方法 net.minecraft.item.RangedWeaponItem

    getEnchantability, getHeldProjectile, getProjectile, load

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

    asItem, byRawId, canBeNested, canMine, canRepair, finishUsing, fromBlock, getAttributeModifiers, getBonusAttackDamage, getBreakSound, getComponents, getDefaultStack, getDrinkSound, getEatSound, getItemBarColor, getItemBarStep, getMaxCount, getMiningSpeed, getName, getName, getOrCreateTranslationKey, getRawId, getRecipeRemainder, getRegistryEntry, getRequiredFeatures, getTooltipData, getTranslationKey, getTranslationKey, hasGlint, hasRecipeRemainder, inventoryTick, isCorrectForDrops, isEnchantable, isItemBarVisible, isNetworkSynced, onClicked, onCraft, onCraftByPlayer, onItemEntityDestroyed, onStackClicked, postDamageEntity, postHit, postMine, postProcessComponents, raycast, toString, useOnBlock, useOnEntity

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

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

    从接口继承的方法 net.fabricmc.fabric.api.item.v1.FabricItem

    allowComponentsUpdateAnimation, allowContinuingBlockBreaking, canBeEnchantedWith, getRecipeRemainder

    从接口继承的方法 net.minecraft.resource.featuretoggle.ToggleableFeature

    isEnabled
  • 字段详细资料

    • QUICK_LOADING_SOUNDS

      public static final net.minecraft.item.CrossbowItem.LoadingSounds QUICK_LOADING_SOUNDS
    • LOADING_SOUNDS

      public static final net.minecraft.item.CrossbowItem.LoadingSounds LOADING_SOUNDS
    • MAX_DAMAGE

      public static final int MAX_DAMAGE
  • 构造器详细资料

    • ArbalestItem

      public ArbalestItem(net.minecraft.item.Item.Settings settings)
      参数:
      settings - 物品设置
  • 方法详细资料

    • dynamicComponents

      public net.minecraft.component.ComponentMap dynamicComponents(net.minecraft.item.ItemStack stack)
      指定者:
      dynamicComponents 在接口中 pers.saikel0rado1iu.silk.api.ropestick.component.DynamicComponent
      覆盖:
      dynamicComponents 在类中 pers.saikel0rado1iu.silk.api.ropestick.ranged.CrossbowLikeItem
    • triggerCriteria

      public void triggerCriteria(net.minecraft.server.network.ServerPlayerEntity serverPlayer, net.minecraft.item.ItemStack ranged, net.minecraft.entity.projectile.ProjectileEntity projectile)
      触发进度条件
      指定者:
      triggerCriteria 在类中 pers.saikel0rado1iu.silk.api.ropestick.ranged.CrossbowLikeItem
      参数:
      serverPlayer - 服务端玩家
      ranged - 远程武器物品堆栈
      projectile - 发射物
    • stateSounds

      public pers.saikel0rado1iu.silk.api.ropestick.ranged.CrossbowLikeItem.StateSounds stateSounds(net.minecraft.item.ItemStack stack)
      覆盖:
      stateSounds 在类中 pers.saikel0rado1iu.silk.api.ropestick.ranged.CrossbowLikeItem
    • rangedWeapon

      public pers.saikel0rado1iu.silk.api.ropestick.component.type.RangedWeaponComponent rangedWeapon(Optional<net.minecraft.item.ItemStack> stack)
      指定者:
      rangedWeapon 在类中 pers.saikel0rado1iu.silk.api.ropestick.ranged.CrossbowLikeItem