Package net.trique.wardentools.item.misc
Class StaffTemplateItem
java.lang.Object
net.minecraft.world.item.Item
net.minecraft.world.item.SmithingTemplateItem
net.trique.wardentools.item.misc.StaffTemplateItem
- All Implemented Interfaces:
net.minecraft.world.flag.FeatureElement,net.minecraft.world.level.ItemLike,net.neoforged.neoforge.common.extensions.IItemExtension
public class StaffTemplateItem
extends net.minecraft.world.item.SmithingTemplateItem
-
Nested Class Summary
Nested classes/interfaces inherited from class net.minecraft.world.item.Item
net.minecraft.world.item.Item.Properties, net.minecraft.world.item.Item.TooltipContext -
Field Summary
FieldsModifier and TypeFieldDescriptionprotected static final net.minecraft.ChatFormattingprotected static final net.minecraft.resources.ResourceLocationprotected static final net.minecraft.resources.ResourceLocationprotected static final net.minecraft.network.chat.Componentprotected static final net.minecraft.network.chat.Componentprotected static final net.minecraft.network.chat.Componentprotected static final net.minecraft.network.chat.Componentprotected static final net.minecraft.network.chat.Componentprotected static final net.minecraft.ChatFormattingFields inherited from class net.minecraft.world.item.SmithingTemplateItem
EMPTY_SLOT_AXE, EMPTY_SLOT_BOOTS, EMPTY_SLOT_CHESTPLATE, EMPTY_SLOT_HELMET, EMPTY_SLOT_HOE, EMPTY_SLOT_INGOT, EMPTY_SLOT_LEGGINGS, EMPTY_SLOT_PICKAXE, EMPTY_SLOT_SHOVEL, EMPTY_SLOT_SWORDFields inherited from class net.minecraft.world.item.Item
ABSOLUTE_MAX_STACK_SIZE, BASE_ATTACK_DAMAGE_ID, BASE_ATTACK_SPEED_ID, BY_BLOCK, canRepair, DEFAULT_MAX_STACK_SIZE, MAX_BAR_WIDTHFields inherited from interface net.minecraft.world.flag.FeatureElement
FILTERED_REGISTRIES -
Constructor Summary
ConstructorsConstructorDescriptionStaffTemplateItem(net.minecraft.network.chat.Component appliesTo, net.minecraft.network.chat.Component ingredients, net.minecraft.network.chat.Component upgradeDescription, net.minecraft.network.chat.Component baseSlotDescription, net.minecraft.network.chat.Component additionsSlotDescription, List<net.minecraft.resources.ResourceLocation> baseSlotEmptyIcons, List<net.minecraft.resources.ResourceLocation> additionalSlotEmptyIcons, net.minecraft.world.flag.FeatureFlag... requiredFeatures) -
Method Summary
Modifier and TypeMethodDescriptionstatic StaffTemplateItemprotected static List<net.minecraft.resources.ResourceLocation> protected static List<net.minecraft.resources.ResourceLocation> Methods inherited from class net.minecraft.world.item.SmithingTemplateItem
appendHoverText, createArmorTrimTemplate, createArmorTrimTemplate, createNetheriteUpgradeTemplate, getAdditionalSlotEmptyIcons, getAdditionSlotDescription, getBaseSlotDescription, getBaseSlotEmptyIconsMethods 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, getTooltipImage, getUseAnimation, getUseDuration, hasCraftingRemainingItem, hurtEnemy, initializeClient, interactLivingEntity, inventoryTick, isBarVisible, isComplex, isCorrectToolForDrops, isEnchantable, isFoil, isRepairable, isValidRepairItem, mineBlock, modifyDefaultComponentsFrom, onCraftedBy, onCraftedPostProcess, onDestroyed, onUseTick, overrideOtherStackedOnMe, overrideStackedOnOther, postHurtEnemy, releaseUsing, requiredFeatures, toString, use, useOn, useOnRelease, verifyComponentsAfterLoadMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface net.minecraft.world.flag.FeatureElement
isEnabledMethods inherited from interface net.neoforged.neoforge.common.extensions.IItemExtension
applyEnchantments, canBeHurtBy, canContinueUsing, canDisableShield, canElytraFly, canEquip, canFitInsideContainerItems, canGrindstoneRepair, canPerformAction, 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, makesPiglinsNeutral, onAnimalArmorTick, onDestroyed, onDroppedByPlayer, onEntityItemUpdate, onEntitySwing, onEntitySwing, onItemUseFirst, onLeftClickEntity, onStopUsing, setDamage, shouldCauseBlockBreakReset, shouldCauseReequipAnimation, supportsEnchantment
-
Field Details
-
TITLE_FORMATTING
protected static final net.minecraft.ChatFormatting TITLE_FORMATTING -
DESCRIPTION_FORMATTING
protected static final net.minecraft.ChatFormatting DESCRIPTION_FORMATTING -
STAFF_UPGRADE_TEXT
protected static final net.minecraft.network.chat.Component STAFF_UPGRADE_TEXT -
STAFF_UPGRADE_APPLIES_TO_TEXT
protected static final net.minecraft.network.chat.Component STAFF_UPGRADE_APPLIES_TO_TEXT -
STAFF_UPGRADE_INGREDIENTS_TEXT
protected static final net.minecraft.network.chat.Component STAFF_UPGRADE_INGREDIENTS_TEXT -
STAFF_UPGRADE_BASE_SLOT_DESCRIPTION_TEXT
protected static final net.minecraft.network.chat.Component STAFF_UPGRADE_BASE_SLOT_DESCRIPTION_TEXT -
STAFF_UPGRADE_ADDITIONS_SLOT_DESCRIPTION_TEXT
protected static final net.minecraft.network.chat.Component STAFF_UPGRADE_ADDITIONS_SLOT_DESCRIPTION_TEXT -
EMPTY_SLOT_STAFF
protected static final net.minecraft.resources.ResourceLocation EMPTY_SLOT_STAFF -
EMPTY_SLOT_ENDER_EYE
protected static final net.minecraft.resources.ResourceLocation EMPTY_SLOT_ENDER_EYE
-
-
Constructor Details
-
StaffTemplateItem
public StaffTemplateItem(net.minecraft.network.chat.Component appliesTo, net.minecraft.network.chat.Component ingredients, net.minecraft.network.chat.Component upgradeDescription, net.minecraft.network.chat.Component baseSlotDescription, net.minecraft.network.chat.Component additionsSlotDescription, List<net.minecraft.resources.ResourceLocation> baseSlotEmptyIcons, List<net.minecraft.resources.ResourceLocation> additionalSlotEmptyIcons, net.minecraft.world.flag.FeatureFlag... requiredFeatures)
-
-
Method Details
-
createStaffUpgrade
-
getStaffUpgradeEmptyBaseSlotTextures
protected static List<net.minecraft.resources.ResourceLocation> getStaffUpgradeEmptyBaseSlotTextures() -
getStaffUpgradeEmptyAdditionsSlotTextures
protected static List<net.minecraft.resources.ResourceLocation> getStaffUpgradeEmptyAdditionsSlotTextures()
-