Class HTEternalUpgradeItem
-
- All Implemented Interfaces:
-
net.minecraft.world.flag.FeatureElement,net.minecraft.world.level.ItemLike,net.neoforged.neoforge.common.extensions.IItemExtension
public final class HTEternalUpgradeItem extends HTSmithingTemplateItem
-
-
Field Summary
Fields Modifier and Type Field Description private final StringdescriptionIdprivate final IntegerdefaultMaxStackSizeprivate final ComponentbaseSlotDescriptionprivate final ComponentadditionSlotDescriptionprivate final List<Identifier>baseSlotEmptyIconsprivate final List<Identifier>additionalSlotEmptyIconsprivate final ItemStackdefaultInstanceprivate final ItemStackTemplatecraftingRemainder
-
Constructor Summary
Constructors Constructor Description HTEternalUpgradeItem(Item.Properties properties)
-
Method Summary
Modifier and Type Method Description ComponentgetName(ItemStack stack)BooleanisFoil(ItemStack stack)BooleancanBeHurtBy(ItemStack stack, DamageSource source)-
Methods inherited from class net.minecraft.world.item.Item
appendHoverText, builtInRegistryHolder, canDestroyBlock, canFitInsideContainerItems, components, computeDefaultResource, finishUsingItem, getAttackDamageBonus, getBarColor, getBarWidth, getCraftingRemainder, getDefaultInstance, getDefaultMaxStackSize, getDescriptionId, getDestroySpeed, getItemDamageSource, getTooltipImage, getUseAnimation, getUseDuration, hurtEnemy, interactLivingEntity, inventoryTick, isBarVisible, isCorrectToolForDrops, mineBlock, onCraftedBy, onCraftedPostProcess, onDestroyed, onUseTick, overrideOtherStackedOnMe, overrideStackedOnOther, postHurtEnemy, releaseUsing, resetDefaultResource, shouldPrintOpWarning, use, useOn, useOnRelease -
Methods inherited from class net.minecraft.world.item.SmithingTemplateItem
getAdditionSlotDescription, getAdditionalSlotEmptyIcons, getBaseSlotDescription, getBaseSlotEmptyIcons -
Methods inherited from class net.minecraft.world.flag.FeatureElement
isEnabled, requiredFeatures -
Methods inherited from class net.neoforged.neoforge.common.extensions.IItemExtension
applyEnchantments, canContinueUsing, canEquip, canFitInsideContainerItems, canGrindstoneRepair, canPerformAction, canWalkOnPowderedSnow, createEntity, damageItem, doesSneakBypassUse, getAllEnchantments, getBurnTime, getCraftingRemainder, getCreatorModId, getDamage, getDefaultAttributeModifiers, getEnchantmentLevel, getEntityLifespan, getEquipmentSlot, getHighlightTip, getMaxDamage, getMaxStackSize, getSweepHitBox, getXpRepairRatio, hasCustomEntity, isCombineRepairable, isDamageable, isDamaged, isGazeDisguise, isNotReplaceableByPickAction, isPiglinCurrency, isPrimaryItemFor, makesPiglinsNeutral, onAnimalArmorTick, onDestroyed, onDroppedByPlayer, onEntityItemUpdate, onEntitySwing, onItemUseFirst, onLeftClickEntity, onStopUsing, setDamage, shouldCauseBlockBreakReset, shouldCauseReequipAnimation, supportsEnchantment -
Methods inherited from class net.minecraft.world.level.ItemLike
asItem -
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)
-
canBeHurtBy
Boolean canBeHurtBy(ItemStack stack, DamageSource source)
-
-
-
-