类 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
-
嵌套类概要
从类继承的嵌套类/接口 net.minecraft.item.Item
net.minecraft.item.Item.Settings, net.minecraft.item.Item.TooltipContext -
字段概要
字段从类继承的字段 pers.saikel0rado1iu.silk.api.ropestick.ranged.CrossbowLikeItem
tempStack从类继承的字段 net.minecraft.item.CrossbowItem
charged, field_49258, loaded, RANGE从类继承的字段 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, ITEM_BAR_STEPS, MAX_MAX_COUNT从接口继承的字段 net.minecraft.resource.featuretoggle.ToggleableFeature
FEATURE_ENABLED_REGISTRY_KEYS -
构造器概要
构造器 -
方法概要
修饰符和类型方法说明net.minecraft.component.ComponentMapdynamicComponents(net.minecraft.item.ItemStack stack) protected net.minecraft.sound.SoundEventgetQuickChargeSound(int stage) net.minecraft.sound.SoundEventnet.minecraft.sound.SoundEventpers.saikel0rado1iu.silk.api.ropestick.component.type.RangedWeaponComponentrangedWeapon(Optional<net.minecraft.item.ItemStack> stack) net.minecraft.sound.SoundEventvoidtriggerCriteria(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, isInfinity, 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, 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, getAttributeModifiers, getRecipeRemainder从接口继承的方法 net.minecraft.resource.featuretoggle.ToggleableFeature
isEnabled
-
字段详细资料
-
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- 发射物
-
getQuickChargeSound
protected net.minecraft.sound.SoundEvent getQuickChargeSound(int stage) - 覆盖:
getQuickChargeSound在类中net.minecraft.item.CrossbowItem
-
loadingSound
public net.minecraft.sound.SoundEvent loadingSound()- 覆盖:
loadingSound在类中pers.saikel0rado1iu.silk.api.ropestick.ranged.CrossbowLikeItem
-
loadedSound
public net.minecraft.sound.SoundEvent loadedSound()- 覆盖:
loadedSound在类中pers.saikel0rado1iu.silk.api.ropestick.ranged.CrossbowLikeItem
-
shootSound
public net.minecraft.sound.SoundEvent shootSound()- 覆盖:
shootSound在类中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
-