Package hiiragi283.core.common.item
Class HTAlmightyPickaxeItem
-
- All Implemented Interfaces:
-
hiiragi283.core.api.item.HTSubCreativeTabContents,net.minecraft.world.flag.FeatureElement,net.minecraft.world.level.ItemLike,net.neoforged.neoforge.common.extensions.IItemExtension
public final class HTAlmightyPickaxeItem extends DiggerItem implements HTSubCreativeTabContents
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public classHTAlmightyPickaxeItem.AlmightyTier
-
Field Summary
Fields Modifier and Type Field Description private final StringdescriptionIdprivate final SoundEventdrinkingSoundprivate final SoundEventeatingSoundprivate final IntegerdefaultMaxStackSizeprivate final IntegerenchantmentValueprivate final SoundEventbreakingSoundprivate final ItemcraftingRemainingItemprivate final Tiertierprivate final BooleanisComplexprivate final ItemAttributeModifiersdefaultAttributeModifiersprivate final ItemStackdefaultInstanceprivate final Componentdescription
-
Constructor Summary
Constructors Constructor Description HTAlmightyPickaxeItem(Item.Properties properties)
-
Method Summary
Modifier and Type Method Description ComponentgetName(ItemStack stack)BooleanisFoil(ItemStack stack)BooleancanPerformAction(ItemStack stack, ItemAbility itemAbility)BooleancanBeHurtBy(ItemStack stack, DamageSource source)UnitaddItems(HTItemHolderLike<?> baseItem, HTSubCreativeTabContents.Context context)複数のItemStackを追加します。 -
Methods inherited from class net.minecraft.world.item.Item
appendHoverText, builtInRegistryHolder, canAttackBlock, canFitInsideContainerItems, components, finishUsingItem, getAttackDamageBonus, getBarColor, getBarWidth, getBreakingSound, getCraftingRemainingItem, getDefaultAttributeModifiers, getDefaultInstance, getDefaultMaxStackSize, getDescription, getDescriptionId, getDestroySpeed, getDrinkingSound, getEatingSound, getTooltipImage, getUseAnimation, getUseDuration, hasCraftingRemainingItem, hurtEnemy, initializeClient, interactLivingEntity, inventoryTick, isBarVisible, isComplex, isCorrectToolForDrops, isEnchantable, isValidRepairItem, mineBlock, modifyDefaultComponentsFrom, onCraftedBy, onCraftedPostProcess, onDestroyed, onUseTick, overrideOtherStackedOnMe, overrideStackedOnOther, postHurtEnemy, releaseUsing, use, useOn, useOnRelease, verifyComponentsAfterLoad -
Methods inherited from class net.minecraft.world.item.TieredItem
getEnchantmentValue, getTier -
Methods inherited from class net.neoforged.neoforge.common.extensions.IItemExtension
applyEnchantments, canContinueUsing, canDisableShield, canElytraFly, canEquip, canFitInsideContainerItems, canGrindstoneRepair, canWalkOnPowderedSnow, createEntity, damageItem, doesSneakBypassUse, elytraFlightTick, getAllEnchantments, getArmorTexture, getBurnTime, getCraftingRemainingItem, getCreatorModId, getDamage, getDefaultAttributeModifiers, getEnchantmentLevel, getEnchantmentValue, getEntityLifespan, getEquipmentSlot, getFoodProperties, getHighlightTip, getMaxDamage, getMaxStackSize, getSweepHitBox, getXpRepairRatio, hasCraftingRemainingItem, hasCustomEntity, isBookEnchantable, isDamageable, isDamaged, isEnderMask, isNotReplaceableByPickAction, isPiglinCurrency, isPrimaryItemFor, isRepairable, makesPiglinsNeutral, onAnimalArmorTick, onDestroyed, onDroppedByPlayer, onEntityItemUpdate, onEntitySwing, onEntitySwing, onItemUseFirst, onLeftClickEntity, onStopUsing, setDamage, shouldCauseBlockBreakReset, shouldCauseReequipAnimation, supportsEnchantment -
Methods inherited from class net.minecraft.world.flag.FeatureElement
isEnabled, requiredFeatures -
Methods inherited from class net.minecraft.world.level.ItemLike
asItem -
Methods inherited from class hiiragi283.core.api.item.HTSubCreativeTabContents
shouldAddDefault -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-
Method Detail
-
getName
Component getName(ItemStack stack)
-
canPerformAction
Boolean canPerformAction(ItemStack stack, ItemAbility itemAbility)
-
canBeHurtBy
Boolean canBeHurtBy(ItemStack stack, DamageSource source)
-
addItems
Unit addItems(HTItemHolderLike<?> baseItem, HTSubCreativeTabContents.Context context)
複数のItemStackを追加します。
-
-
-
-