java.lang.Object
net.minecraft.item.Item
net.minecraft.item.RangedWeaponItem
net.minecraft.item.BowItem
pers.saikel0rado1iu.silk.api.item.tool.weapon.ranged.Bow
所有已实现的接口:
net.fabricmc.fabric.api.item.v1.FabricItem, net.minecraft.item.ItemConvertible, net.minecraft.item.Vanishable, net.minecraft.resource.featuretoggle.ToggleableFeature, UsingFovZoom, UsingMovementMultiplier, SilkBowExtend, SilkRangedWeaponExtend

@SilkApi public abstract class Bow extends net.minecraft.item.BowItem implements SilkBowExtend

辅助弓的创建的数据直观和清晰

从以下版本开始:
0.1.0
  • 嵌套类概要

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

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

    字段
    修饰符和类型
    字段
    说明
    static final float
     
    static final float
     
    static final net.minecraft.util.Identifier
     
    static final net.minecraft.util.Identifier
     
    static final net.minecraft.util.Identifier
     
    static final net.minecraft.util.Identifier
     

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

    RANGE, TICKS_PER_SECOND

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

    BOW_PROJECTILES, CROSSBOW_HELD_PROJECTILES

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

    ATTACK_DAMAGE_MODIFIER_ID, ATTACK_SPEED_MODIFIER_ID, BLOCK_ITEMS, DEFAULT_MAX_COUNT, DEFAULT_MAX_USE_TIME, ITEM_BAR_STEPS

    从接口继承的字段 pers.saikel0rado1iu.silk.api.item.tool.weapon.ranged.SilkBowExtend

    BOW_MAX_PROJECTILE_SPEED, BOW_MAX_PULL_TICKS, BOW_MAX_USE_TICKS

    从接口继承的字段 pers.saikel0rado1iu.silk.api.item.tool.weapon.ranged.SilkRangedWeaponExtend

    DEFAULT_FIRING_ERROR, PROJECTILE_ID_KEY, PULL_KEY, PULLING_KEY

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

    FEATURE_ENABLED_REGISTRY_KEYS
  • 构造器概要

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

    修饰符和类型
    方法
    说明
    int
    getMaxUseTime(net.minecraft.item.ItemStack stack)
    获取最大使用时间
    boolean
     
    void
    onStoppedUsing(net.minecraft.item.ItemStack stack, net.minecraft.world.World world, net.minecraft.entity.LivingEntity user, int remainingUseTicks)
    设置自定义的速度、伤害与弹药偏移

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

    getProjectiles, getPullProgress, getRange, getUseAction, use

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

    getEnchantability, getHeldProjectile, getHeldProjectiles

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

    appendTooltip, asItem, byRawId, canBeNested, canMine, canRepair, damage, finishUsing, fromBlock, getAttributeModifiers, getDefaultStack, getDrinkSound, getEatSound, getFoodComponent, getItemBarColor, getItemBarStep, getMaxCount, getMaxDamage, getMiningSpeedMultiplier, getName, getName, getOrCreateTranslationKey, getRarity, getRawId, getRecipeRemainder, getRegistryEntry, getRequiredFeatures, getTooltipData, getTranslationKey, getTranslationKey, hasGlint, hasRecipeRemainder, inventoryTick, isDamageable, isEnchantable, isFireproof, isFood, isItemBarVisible, isNbtSynced, isNetworkSynced, isSuitableFor, isUsedOnRelease, onClicked, onCraft, onItemEntityDestroyed, onStackClicked, postHit, postMine, postProcessNbt, raycast, toString, usageTick, useOnBlock, useOnEntity

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

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

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

    allowContinuingBlockBreaking, allowNbtUpdateAnimation, getAttributeModifiers, getRecipeRemainder, isSuitableFor

    从接口继承的方法 pers.saikel0rado1iu.silk.api.item.tool.weapon.ranged.SilkRangedWeaponExtend

    getAllProjectile, getProjectileId, setProjectileId

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

    isEnabled

    从接口继承的方法 pers.saikel0rado1iu.silk.api.item.tool.UsingFovZoom

    getUsingFovMultiple
  • 字段详细资料

    • DEFAULT_MOVEMENT_MULTIPLE

      @SilkApi static final float DEFAULT_MOVEMENT_MULTIPLE
      另请参阅:
    • DEFAULT_FOV_ZOOM

      @SilkApi static final float DEFAULT_FOV_ZOOM
      另请参阅:
    • VIGNETTE_TEXTURE

      @SilkApi static final net.minecraft.util.Identifier VIGNETTE_TEXTURE
    • PUMPKIN_BLUR

      @SilkApi static final net.minecraft.util.Identifier PUMPKIN_BLUR
    • SPYGLASS_SCOPE

      @SilkApi static final net.minecraft.util.Identifier SPYGLASS_SCOPE
    • POWDER_SNOW_OUTLINE

      @SilkApi static final net.minecraft.util.Identifier POWDER_SNOW_OUTLINE
  • 构造器详细资料

    • Bow

      public Bow(net.minecraft.item.Item.Settings settings)
  • 方法详细资料

    • isHubStretch

      public boolean isHubStretch()
    • getMaxUseTime

      public int getMaxUseTime(net.minecraft.item.ItemStack stack)
      获取最大使用时间
      覆盖:
      getMaxUseTime 在类中 net.minecraft.item.BowItem
    • onStoppedUsing

      public void onStoppedUsing(net.minecraft.item.ItemStack stack, net.minecraft.world.World world, net.minecraft.entity.LivingEntity user, int remainingUseTicks)

      设置自定义的速度、伤害与弹药偏移

      重实现 BowItem.onStoppedUsing(ItemStack, World, LivingEntity, int)
      覆盖:
      onStoppedUsing 在类中 net.minecraft.item.BowItem