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
辅助弓的创建的数据直观和清晰
- 从以下版本开始:
- 0.1.0
-
嵌套类概要
从类继承的嵌套类/接口 net.minecraft.item.Item
net.minecraft.item.Item.Settings -
字段概要
字段修饰符和类型字段说明static final floatstatic final floatstatic final net.minecraft.util.Identifierstatic final net.minecraft.util.Identifierstatic final net.minecraft.util.Identifierstatic 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 -
构造器概要
构造器 -
方法概要
修饰符和类型方法说明intgetMaxUseTime(net.minecraft.item.ItemStack stack) 获取最大使用时间booleanvoidonStoppedUsing(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.SilkBowExtend
getDamageMultiple, getFiringError, getHubOverlay, getMaxDamageMultiple, getMaxProjectileSpeed, getMaxPullTicks, getMaxUseTicks, getUsingFovZoom, getUsingMovementMultiple, getUsingProgress, onlyFirstPerson从接口继承的方法 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
-
字段详细资料
-
构造器详细资料
-
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
-