Package hiiragi283.core.api.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 SoundEventdrinkingSoundprivate final SoundEventeatingSoundprivate final IntegerdefaultMaxStackSizeprivate final IntegerenchantmentValueprivate final ComponentbaseSlotDescriptionprivate final SoundEventbreakingSoundprivate final ComponentadditionSlotDescriptionprivate final List<ResourceLocation>baseSlotEmptyIconsprivate final ItemcraftingRemainingItemprivate final BooleanisComplexprivate final ItemAttributeModifiersdefaultAttributeModifiersprivate final List<ResourceLocation>additionalSlotEmptyIconsprivate final ItemStackdefaultInstanceprivate final Componentdescription
-
Constructor Summary
Constructors Constructor Description HTSmithingTemplateItem(HTTranslation appliesTo, HTTranslation ingredients, HTTranslation description, HTTranslation baseSlot, HTTranslation additionsSlot)
-
Method Summary
Modifier and Type Method Description -
Methods inherited from class net.minecraft.world.item.Item
appendHoverText, builtInRegistryHolder, canAttackBlock, canFitInsideContainerItems, components, finishUsingItem, getAttackDamageBonus, getBarColor, getBarWidth, getBreakingSound, getCraftingRemainingItem, getDefaultAttributeModifiers, getDefaultInstance, getDefaultMaxStackSize, getDescription, getDescriptionId, getDestroySpeed, getDrinkingSound, getEatingSound, getEnchantmentValue, getName, getTooltipImage, getUseAnimation, getUseDuration, hasCraftingRemainingItem, hurtEnemy, initializeClient, interactLivingEntity, inventoryTick, isBarVisible, isComplex, isCorrectToolForDrops, isEnchantable, isFoil, isValidRepairItem, mineBlock, modifyDefaultComponentsFrom, onCraftedBy, onCraftedPostProcess, onDestroyed, onUseTick, overrideOtherStackedOnMe, overrideStackedOnOther, postHurtEnemy, releaseUsing, use, useOn, useOnRelease, verifyComponentsAfterLoad -
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, 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, isRepairable, makesPiglinsNeutral, onAnimalArmorTick, onDestroyed, onDroppedByPlayer, onEntityItemUpdate, onEntitySwing, 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 description, HTTranslation baseSlot, HTTranslation additionsSlot)
-
-
-
-