类 StoneballItem
java.lang.Object
net.minecraft.item.Item
pers.saikel0rado1iu.spontaneousreplace.item.StoneballItem
- 所有已实现的接口:
net.fabricmc.fabric.api.item.v1.FabricItem,net.minecraft.item.ItemConvertible,net.minecraft.item.ProjectileItem,net.minecraft.resource.featuretoggle.ToggleableFeature
public class StoneballItem
extends net.minecraft.item.Item
implements net.minecraft.item.ProjectileItem
石弹物品
一种新型的特殊抛掷物品- 从以下版本开始:
- 1.0.0
-
嵌套类概要
从类继承的嵌套类/接口 net.minecraft.item.Item
net.minecraft.item.Item.Settings, net.minecraft.item.Item.TooltipContext从接口继承的嵌套类/接口 net.minecraft.item.ProjectileItem
net.minecraft.item.ProjectileItem.PositionFunction, net.minecraft.item.ProjectileItem.Settings -
字段概要
从类继承的字段 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 -
构造器概要
构造器 -
方法概要
修饰符和类型方法说明net.minecraft.entity.projectile.ProjectileEntitycreateEntity(net.minecraft.world.World world, net.minecraft.util.math.Position pos, net.minecraft.item.ItemStack stack, net.minecraft.util.math.Direction direction) net.minecraft.util.TypedActionResult<net.minecraft.item.ItemStack> use(net.minecraft.world.World world, net.minecraft.entity.player.PlayerEntity user, net.minecraft.util.Hand hand) 从类继承的方法 net.minecraft.item.Item
appendTooltip, asItem, byRawId, canBeNested, canMine, canRepair, finishUsing, fromBlock, getAttributeModifiers, getBonusAttackDamage, getBreakSound, getComponents, getDefaultStack, getDrinkSound, getEatSound, getEnchantability, getItemBarColor, getItemBarStep, getMaxCount, getMaxUseTime, getMiningSpeed, getName, getName, getOrCreateTranslationKey, getRawId, getRecipeRemainder, getRegistryEntry, getRequiredFeatures, getTooltipData, getTranslationKey, getTranslationKey, getUseAction, hasGlint, hasRecipeRemainder, inventoryTick, isCorrectForDrops, isEnchantable, isItemBarVisible, isNetworkSynced, isUsedOnRelease, onClicked, onCraft, onCraftByPlayer, onItemEntityDestroyed, onStackClicked, onStoppedUsing, postDamageEntity, postHit, postMine, postProcessComponents, 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
allowComponentsUpdateAnimation, allowContinuingBlockBreaking, canBeEnchantedWith, getRecipeRemainder从接口继承的方法 net.minecraft.item.ProjectileItem
getProjectileSettings, initializeProjectile从接口继承的方法 net.minecraft.resource.featuretoggle.ToggleableFeature
isEnabled
-
构造器详细资料
-
StoneballItem
public StoneballItem(net.minecraft.item.Item.Settings settings)
-
-
方法详细资料
-
use
public net.minecraft.util.TypedActionResult<net.minecraft.item.ItemStack> use(net.minecraft.world.World world, net.minecraft.entity.player.PlayerEntity user, net.minecraft.util.Hand hand) - 覆盖:
use在类中net.minecraft.item.Item
-
createEntity
public net.minecraft.entity.projectile.ProjectileEntity createEntity(net.minecraft.world.World world, net.minecraft.util.math.Position pos, net.minecraft.item.ItemStack stack, net.minecraft.util.math.Direction direction) - 指定者:
createEntity在接口中net.minecraft.item.ProjectileItem
-