Class SageArmorItem
java.lang.Object
net.minecraft.world.item.Item
net.minecraft.world.item.ArmorItem
com.binaris.wizardry.content.item.armor.WizardArmorItem
com.binaris.wizardry.content.item.armor.SageArmorItem
- All Implemented Interfaces:
ICustomAttributesItem,ICustomDamageItem,IElementValue,IManaItem,IWorkbenchItem,net.minecraft.world.flag.FeatureElement,net.minecraft.world.item.Equipable,net.minecraft.world.item.Vanishable,net.minecraft.world.level.ItemLike,net.minecraftforge.common.extensions.IForgeItem
-
Nested Class Summary
Nested classes/interfaces inherited from class net.minecraft.world.item.ArmorItem
net.minecraft.world.item.ArmorItem.TypeNested classes/interfaces inherited from class net.minecraft.world.item.Item
net.minecraft.world.item.Item.Properties -
Field Summary
Fields inherited from class net.minecraft.world.item.ArmorItem
DISPENSE_ITEM_BEHAVIOR, knockbackResistance, material, typeFields inherited from class net.minecraft.world.item.Item
BASE_ATTACK_DAMAGE_UUID, BASE_ATTACK_SPEED_UUID, BY_BLOCK, canRepair, EAT_DURATION, MAX_BAR_WIDTH, MAX_STACK_SIZEFields inherited from interface net.minecraft.world.flag.FeatureElement
FILTERED_REGISTRIES -
Constructor Summary
ConstructorsConstructorDescriptionSageArmorItem(net.minecraft.world.item.ArmorItem.Type type, Element element) -
Method Summary
Modifier and TypeMethodDescriptionvoidappendHoverText(@NotNull net.minecraft.world.item.ItemStack stack, net.minecraft.world.level.Level world, @NotNull List<net.minecraft.network.chat.Component> tooltip, @NotNull net.minecraft.world.item.TooltipFlag advanced) voidapplyModifiers(net.minecraft.world.entity.LivingEntity entity, SpellModifiers modifiers, WizardArmorItem armor, Spell spell) Hook for applying additionalSpellModifierswhen the caster is wearing the full armor set with mana.Methods inherited from class com.binaris.wizardry.content.item.armor.WizardArmorItem
applyUpgrade, canBreak, collectArmorModifiers, effectTick, getBarColor, getCustomAttributes, getElement, getMana, getManaCapacity, getName, getSpellSlotCount, getWizardArmorType, inventoryTick, isValidRepairItem, onApplyButtonPressed, onSpellPreCast, setCustomDamage, setMana, showTooltip, validForReceptacleMethods inherited from class net.minecraft.world.item.ArmorItem
dispenseArmor, getDefaultAttributeModifiers, getDefense, getEnchantmentValue, getEquipmentSlot, getEquipSound, getMaterial, getToughness, getType, useMethods inherited from class net.minecraft.world.item.Item
asItem, builtInRegistryHolder, byBlock, byId, canAttackBlock, canBeDepleted, canBeHurtBy, canFitInsideContainerItems, finishUsingItem, getBarWidth, getCraftingRemainingItem, getDefaultInstance, getDescription, getDescriptionId, getDescriptionId, getDestroySpeed, getDrinkingSound, getEatingSound, getFoodProperties, getId, getMaxDamage, getMaxStackSize, getOrCreateDescriptionId, getPlayerPOVHitResult, getRarity, getRenderPropertiesInternal, getTooltipImage, getUseAnimation, getUseDuration, hasCraftingRemainingItem, hurtEnemy, initializeClient, interactLivingEntity, isBarVisible, isComplex, isCorrectToolForDrops, isEdible, isEnchantable, isFireResistant, isFoil, isRepairable, mineBlock, onCraftedBy, onDestroyed, onUseTick, overrideOtherStackedOnMe, overrideStackedOnOther, releaseUsing, requiredFeatures, shouldOverrideMultiplayerNbt, toString, useOn, useOnRelease, verifyTagAfterLoadMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface net.minecraft.world.item.Equipable
swapWithEquipmentSlotMethods inherited from interface net.minecraft.world.flag.FeatureElement
isEnabledMethods inherited from interface com.binaris.wizardry.api.content.item.ICustomDamageItem
getCustomMaxDamageMethods inherited from interface net.minecraftforge.common.extensions.IForgeItem
canApplyAtEnchantingTable, canContinueUsing, canDisableShield, canElytraFly, canEquip, canGrindstoneRepair, canPerformAction, canWalkOnPowderedSnow, createEntity, damageItem, doesSneakBypassUse, elytraFlightTick, getAllEnchantments, getArmorTexture, getAttributeModifiers, getBurnTime, getCraftingRemainingItem, getCreatorModId, getDamage, getDefaultTooltipHideFlags, getEnchantmentLevel, getEnchantmentValue, getEntityLifespan, getEquipmentSlot, getFoodProperties, getHighlightTip, getMaxDamage, getMaxStackSize, getShareTag, getSweepHitBox, getXpRepairRatio, hasCraftingRemainingItem, hasCustomEntity, initCapabilities, isBookEnchantable, isCorrectToolForDrops, isDamageable, isDamaged, isEnderMask, isNotReplaceableByPickAction, isPiglinCurrency, makesPiglinsNeutral, onArmorTick, onBlockStartBreak, onDestroyed, onDroppedByPlayer, onEntityItemUpdate, onEntitySwing, onHorseArmorTick, onInventoryTick, onItemUseFirst, onLeftClickEntity, onStopUsing, readShareTag, setDamage, shouldCauseBlockBreakReset, shouldCauseReequipAnimationMethods inherited from interface com.binaris.wizardry.api.content.item.IManaItem
consumeMana, getFullness, isManaEmpty, isManaFull, rechargeMana, showManaInWorkbenchMethods inherited from interface com.binaris.wizardry.api.content.item.IWorkbenchItem
canPlace, isClearable, onClearButtonPressed
-
Constructor Details
-
SageArmorItem
-
-
Method Details
-
appendHoverText
public void appendHoverText(@NotNull @NotNull net.minecraft.world.item.ItemStack stack, net.minecraft.world.level.Level world, @NotNull @NotNull List<net.minecraft.network.chat.Component> tooltip, @NotNull @NotNull net.minecraft.world.item.TooltipFlag advanced) - Overrides:
appendHoverTextin classWizardArmorItem
-
applyModifiers
public void applyModifiers(net.minecraft.world.entity.LivingEntity entity, SpellModifiers modifiers, WizardArmorItem armor, Spell spell) Description copied from class:WizardArmorItemHook for applying additionalSpellModifierswhen the caster is wearing the full armor set with mana. Called fromWizardArmorItem.applySpellModifiers(net.minecraft.world.entity.LivingEntity, com.binaris.wizardry.content.item.armor.WizardArmorItem, com.binaris.wizardry.api.content.spell.Spell, com.binaris.wizardry.api.content.spell.internal.SpellModifiers)after base modifiers (elemental cost reduction, cooldown reduction) have already been applied.- Overrides:
applyModifiersin classWizardArmorItem- Parameters:
entity- the entity casting the spellmodifiers- the modifiers being built, modify this in placearmor- the specific armor piece triggering this callspell- the spell being cast
-