Package hiiragi283.lib.item
Class HTSmithingTemplateItem
-
- All Implemented Interfaces:
-
net.minecraft.world.flag.FeatureElement,net.minecraft.world.level.ItemLike,net.neoforged.neoforge.common.extensions.IItemExtension
public class HTSmithingTemplateItem extends SmithingTemplateItemHiiragi Coreとそれを前提とするmodで使用されるSmithingTemplateItemの拡張クラスです。
- Since:
0.9.0
Hiiragi Tsubasa
-
-
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 HTSmithingTemplateItem(HTTranslation appliesTo, HTTranslation ingredients, HTTranslation baseSlot, HTTranslation additionsSlot, Item.Properties properties)
-
Method Summary
Modifier and Type Method Description -
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, getName, getTooltipImage, getUseAnimation, getUseDuration, hurtEnemy, interactLivingEntity, inventoryTick, isBarVisible, isCorrectToolForDrops, isFoil, 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, canBeHurtBy, 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
-
-
Constructor Detail
-
HTSmithingTemplateItem
HTSmithingTemplateItem(HTTranslation appliesTo, HTTranslation ingredients, HTTranslation baseSlot, HTTranslation additionsSlot, Item.Properties properties)
-
-
-
-