类 SmithingTemplateItem
java.lang.Object
net.minecraft.world.item.Item
net.minecraft.world.item.SmithingTemplateItem
- 所有已实现的接口:
FeatureElement
,ItemLike
,IItemExtension
-
嵌套类概要
从类继承的嵌套类/接口 net.minecraft.world.item.Item
Item.Properties, Item.TooltipContext
-
字段概要
字段修饰符和类型字段说明private 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
从类继承的字段 net.minecraft.world.item.Item
ABSOLUTE_MAX_STACK_SIZE, APPROXIMATELY_INFINITE_USE_DURATION, BASE_ATTACK_DAMAGE_ID, BASE_ATTACK_SPEED_ID, BY_BLOCK, canCombineRepair, CODEC, DEFAULT_MAX_STACK_SIZE, descriptionId, MAX_BAR_WIDTH, STREAM_CODEC
从接口继承的字段 net.minecraft.world.flag.FeatureElement
FILTERED_REGISTRIES
-
构造器概要
构造器构造器说明SmithingTemplateItem
(Component p_266834_, Component p_267043_, Component p_267048_, Component p_267278_, List<ResourceLocation> p_266755_, List<ResourceLocation> p_267060_, Item.Properties p_360838_) -
方法概要
修饰符和类型方法说明void
appendHoverText
(ItemStack p_267313_, Item.TooltipContext p_339591_, TooltipDisplay p_399688_, Consumer<Component> p_400130_, TooltipFlag p_266857_) static SmithingTemplateItem
createArmorTrimTemplate
(Item.Properties p_363106_) private static List
<ResourceLocation> private static List
<ResourceLocation> static SmithingTemplateItem
createNetheriteUpgradeTemplate
(Item.Properties p_365255_) private static List
<ResourceLocation> private static List
<ResourceLocation> 从类继承的方法 net.minecraft.world.item.Item
asItem, builtInRegistryHolder, byBlock, byId, canDestroyBlock, canFitInsideContainerItems, components, finishUsingItem, getAttackDamageBonus, getBarColor, getBarWidth, getCraftingRemainder, getDamageSource, getDefaultInstance, getDefaultMaxStackSize, getDescriptionId, getDestroySpeed, getId, getName, getName, getPlayerPOVHitResult, getTooltipImage, getUseAnimation, getUseDuration, hurtEnemy, interactLivingEntity, inventoryTick, isBarVisible, isCombineRepairable, isCorrectToolForDrops, isFoil, mineBlock, modifyDefaultComponentsFrom, onCraftedBy, onCraftedPostProcess, onDestroyed, onUseTick, overrideOtherStackedOnMe, overrideStackedOnOther, postHurtEnemy, releaseUsing, requiredFeatures, shouldPrintOpWarning, toString, use, useOn, useOnRelease, verifyComponentsAfterLoad
从类继承的方法 java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
从接口继承的方法 net.minecraft.world.flag.FeatureElement
isEnabled
从接口继承的方法 net.neoforged.neoforge.common.extensions.IItemExtension
applyEnchantments, canBeHurtBy, canContinueUsing, canEquip, canGrindstoneRepair, canPerformAction, canWalkOnPowderedSnow, createEntity, damageItem, doesSneakBypassUse, getAllEnchantments, getBurnTime, getCraftingRemainder, getCreatorModId, getDamage, getDefaultAttributeModifiers, getEnchantmentLevel, getEntityLifespan, getEquipmentSlot, getHighlightTip, getMaxDamage, getMaxStackSize, getSweepHitBox, getXpRepairRatio, hasCustomEntity, isDamageable, isDamaged, isGazeDisguise, isNotReplaceableByPickAction, isPiglinCurrency, isPrimaryItemFor, makesPiglinsNeutral, onAnimalArmorTick, onDestroyed, onDroppedByPlayer, onEntityItemUpdate, onEntitySwing, onItemUseFirst, onLeftClickEntity, onStopUsing, setDamage, shouldCauseBlockBreakReset, shouldCauseReequipAnimation, supportsEnchantment
-
字段详细资料
-
TITLE_FORMAT
-
DESCRIPTION_FORMAT
-
INGREDIENTS_TITLE
-
APPLIES_TO_TITLE
-
SMITHING_TEMPLATE_SUFFIX
-
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
-
baseSlotDescription
-
additionsSlotDescription
-
baseSlotEmptyIcons
-
additionalSlotEmptyIcons
-
-
构造器详细资料
-
SmithingTemplateItem
public SmithingTemplateItem(Component p_266834_, Component p_267043_, Component p_267048_, Component p_267278_, List<ResourceLocation> p_266755_, List<ResourceLocation> p_267060_, Item.Properties p_360838_)
-
-
方法详细资料
-
createArmorTrimTemplate
-
createNetheriteUpgradeTemplate
-
createTrimmableArmorIconList
-
createTrimmableMaterialIconList
-
createNetheriteUpgradeIconList
-
createNetheriteUpgradeMaterialList
-
appendHoverText
public void appendHoverText(ItemStack p_267313_, Item.TooltipContext p_339591_, TooltipDisplay p_399688_, Consumer<Component> p_400130_, TooltipFlag p_266857_) - 覆盖:
appendHoverText
在类中Item
-
getBaseSlotDescription
-
getAdditionSlotDescription
-
getBaseSlotEmptyIcons
-
getAdditionalSlotEmptyIcons
-