Package net.minecraft.world.item
Class SmithingTemplateItem
java.lang.Object
net.minecraft.world.item.Item
net.minecraft.world.item.SmithingTemplateItem
- All Implemented Interfaces:
FeatureElement
,ItemLike
,IForgeItem
-
Nested Class Summary
Nested classes/interfaces inherited from class net.minecraft.world.item.Item
Item.Properties, Item.TooltipContext
-
Field Summary
Modifier and TypeFieldDescriptionprivate final List
<ResourceLocation> private final Component
private static final Component
private final Component
private static final Component
private static final Component
private static final Component
private static final Component
private final Component
private final List
<ResourceLocation> private static final ChatFormatting
private static final ResourceLocation
private static final ResourceLocation
private static final ResourceLocation
private static final ResourceLocation
private static final ResourceLocation
private static final ResourceLocation
private static final ResourceLocation
private static final ResourceLocation
private static final ResourceLocation
private static final ResourceLocation
private static final ResourceLocation
private static final ResourceLocation
private static final ResourceLocation
private static final ResourceLocation
private static final ResourceLocation
private static final ResourceLocation
private final Component
private static final Component
private static final Component
private static final Component
private static final Component
private static final Component
private static final Component
private static final ChatFormatting
private final Component
Fields inherited from class net.minecraft.world.item.Item
ABSOLUTE_MAX_STACK_SIZE, BASE_ATTACK_DAMAGE_UUID, BASE_ATTACK_SPEED_UUID, BY_BLOCK, DEFAULT_MAX_STACK_SIZE, MAX_BAR_WIDTH, STREAM_CODEC
Fields inherited from interface net.minecraft.world.flag.FeatureElement
FILTERED_REGISTRIES
-
Constructor Summary
ConstructorDescriptionSmithingTemplateItem
(Component p_266834_, Component p_267043_, Component p_267048_, Component p_267278_, Component p_267090_, List<ResourceLocation> p_266755_, List<ResourceLocation> p_267060_, FeatureFlag... p_334218_) -
Method Summary
Modifier and TypeMethodDescriptionvoid
appendHoverText
(ItemStack p_267313_, Item.TooltipContext p_331023_, List<Component> p_266820_, TooltipFlag p_266857_) static SmithingTemplateItem
createArmorTrimTemplate
(ResourceKey<TrimPattern> p_332759_, FeatureFlag... p_331771_) static SmithingTemplateItem
createArmorTrimTemplate
(ResourceLocation p_328028_, FeatureFlag... p_334456_) private static List
<ResourceLocation> private static List
<ResourceLocation> static SmithingTemplateItem
private static List
<ResourceLocation> private static List
<ResourceLocation> Methods inherited from class net.minecraft.world.item.Item
asItem, builtInRegistryHolder, byBlock, byId, canAttackBlock, canFitInsideContainerItems, components, finishUsingItem, getAttackDamageBonus, getBarColor, getBarWidth, getBreakingSound, getCraftingRemainingItem, getDefaultAttributeModifiers, getDefaultInstance, getDefaultMaxStackSize, getDescription, getDescriptionId, getDescriptionId, getDestroySpeed, getDrinkingSound, getEatingSound, getEnchantmentValue, getId, getName, getOrCreateDescriptionId, getPlayerPOVHitResult, getRenderPropertiesInternal, getTooltipImage, getUseAnimation, getUseDuration, hasCraftingRemainingItem, hurtEnemy, initializeClient, interactLivingEntity, inventoryTick, isBarVisible, isComplex, isCorrectToolForDrops, isEnchantable, isFoil, isValidRepairItem, mineBlock, onCraftedBy, onCraftedPostProcess, onDestroyed, onUseTick, overrideOtherStackedOnMe, overrideStackedOnOther, releaseUsing, requiredFeatures, toString, use, useOn, useOnRelease, verifyComponentsAfterLoad
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface net.minecraft.world.flag.FeatureElement
isEnabled
Methods inherited from interface net.minecraftforge.common.extensions.IForgeItem
canApplyAtEnchantingTable, canContinueUsing, canDisableShield, canElytraFly, canEquip, canGrindstoneRepair, canPerformAction, canWalkOnPowderedSnow, createEntity, doesSneakBypassUse, elytraFlightTick, getArmorTexture, getAttributeModifiers, getBurnTime, getCraftingRemainingItem, getCreatorModId, getDefaultTooltipHideFlags, getEnchantmentLevel, getEnchantmentValue, getEntityLifespan, getEquipmentSlot, getHighlightTip, getSweepHitBox, getXpRepairRatio, hasCraftingRemainingItem, hasCustomEntity, isBookEnchantable, isEnderMask, isNotReplaceableByPickAction, isPiglinCurrency, makesPiglinsNeutral, onArmorTick, onBlockStartBreak, onDestroyed, onDroppedByPlayer, onEntityItemUpdate, onEntitySwing, onHorseArmorTick, onInventoryTick, onItemUseFirst, onLeftClickEntity, onStopUsing, shouldCauseBlockBreakReset, shouldCauseReequipAnimation
-
Field Details
-
TITLE_FORMAT
-
DESCRIPTION_FORMAT
-
INGREDIENTS_TITLE
-
APPLIES_TO_TITLE
-
NETHERITE_UPGRADE
-
ARMOR_TRIM_APPLIES_TO
-
ARMOR_TRIM_INGREDIENTS
-
ARMOR_TRIM_BASE_SLOT_DESCRIPTION
-
ARMOR_TRIM_ADDITIONS_SLOT_DESCRIPTION
-
NETHERITE_UPGRADE_APPLIES_TO
-
NETHERITE_UPGRADE_INGREDIENTS
-
NETHERITE_UPGRADE_BASE_SLOT_DESCRIPTION
-
NETHERITE_UPGRADE_ADDITIONS_SLOT_DESCRIPTION
-
EMPTY_SLOT_HELMET
-
EMPTY_SLOT_CHESTPLATE
-
EMPTY_SLOT_LEGGINGS
-
EMPTY_SLOT_BOOTS
-
EMPTY_SLOT_HOE
-
EMPTY_SLOT_AXE
-
EMPTY_SLOT_SWORD
-
EMPTY_SLOT_SHOVEL
-
EMPTY_SLOT_PICKAXE
-
EMPTY_SLOT_INGOT
-
EMPTY_SLOT_REDSTONE_DUST
-
EMPTY_SLOT_QUARTZ
-
EMPTY_SLOT_EMERALD
-
EMPTY_SLOT_DIAMOND
-
EMPTY_SLOT_LAPIS_LAZULI
-
EMPTY_SLOT_AMETHYST_SHARD
-
appliesTo
-
ingredients
-
upgradeDescription
-
baseSlotDescription
-
additionsSlotDescription
-
baseSlotEmptyIcons
-
additionalSlotEmptyIcons
-
-
Constructor Details
-
SmithingTemplateItem
public SmithingTemplateItem(Component p_266834_, Component p_267043_, Component p_267048_, Component p_267278_, Component p_267090_, List<ResourceLocation> p_266755_, List<ResourceLocation> p_267060_, FeatureFlag... p_334218_)
-
-
Method Details
-
createArmorTrimTemplate
public static SmithingTemplateItem createArmorTrimTemplate(ResourceKey<TrimPattern> p_332759_, FeatureFlag... p_331771_) -
createArmorTrimTemplate
public static SmithingTemplateItem createArmorTrimTemplate(ResourceLocation p_328028_, FeatureFlag... p_334456_) -
createNetheriteUpgradeTemplate
-
createTrimmableArmorIconList
-
createTrimmableMaterialIconList
-
createNetheriteUpgradeIconList
-
createNetheriteUpgradeMaterialList
-
appendHoverText
public void appendHoverText(ItemStack p_267313_, Item.TooltipContext p_331023_, List<Component> p_266820_, TooltipFlag p_266857_) - Overrides:
appendHoverText
in classItem
-
getBaseSlotDescription
-
getAdditionSlotDescription
-
getBaseSlotEmptyIcons
-
getAdditionalSlotEmptyIcons
-