java.lang.Object
net.minecraft.world.item.Item
com.idark.valoria.registries.item.types.curio.charm.RuneCold
All Implemented Interfaces:
net.minecraft.world.flag.FeatureElement, net.minecraft.world.level.ItemLike, net.minecraftforge.common.extensions.IForgeItem, top.theillusivec4.curios.api.type.capability.ICurioItem

public class RuneCold extends net.minecraft.world.item.Item implements top.theillusivec4.curios.api.type.capability.ICurioItem
  • Nested Class Summary

    Nested 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.Item

    BASE_ATTACK_DAMAGE_UUID, BASE_ATTACK_SPEED_UUID, BY_BLOCK, canRepair, EAT_DURATION, MAX_BAR_WIDTH, MAX_STACK_SIZE

    Fields inherited from interface net.minecraft.world.flag.FeatureElement

    FILTERED_REGISTRIES

    Fields inherited from interface top.theillusivec4.curios.api.type.capability.ICurioItem

    defaultInstance
  • Constructor Summary

    Constructors
    Constructor
    Description
    RuneCold(net.minecraft.world.item.Item.Properties properties)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    appendHoverText(net.minecraft.world.item.ItemStack stack, net.minecraft.world.level.Level world, List<net.minecraft.network.chat.Component> tooltip, net.minecraft.world.item.TooltipFlag flags)
     
    boolean
    canEquipFromUse(top.theillusivec4.curios.api.SlotContext slot, net.minecraft.world.item.ItemStack stack)
    Determines if the ItemStack can be automatically equipped into the first available slot when used.
    boolean
    canWalkOnPowderedSnow(top.theillusivec4.curios.api.SlotContext slotContext, net.minecraft.world.item.ItemStack stack)
    Determines whether wearing the curio will allow the user to walk on powder snow, in the same manner as wearing leather boots in vanilla.
    void
    curioTick(top.theillusivec4.curios.api.SlotContext slotContext, net.minecraft.world.item.ItemStack stack)
    Called every tick on both client and server while the ItemStack is equipped.
    boolean
    isEnchantable(net.minecraft.world.item.ItemStack pStack)
     

    Methods inherited from class net.minecraft.world.item.Item

    asItem, builtInRegistryHolder, byBlock, byId, canAttackBlock, canBeDepleted, canBeHurtBy, canFitInsideContainerItems, finishUsingItem, getBarColor, getBarWidth, getCraftingRemainingItem, getDefaultAttributeModifiers, getDefaultInstance, getDescription, getDescriptionId, getDescriptionId, getDestroySpeed, getDrinkingSound, getEatingSound, getEnchantmentValue, getFoodProperties, getId, getMaxDamage, getMaxStackSize, getName, getOrCreateDescriptionId, getPlayerPOVHitResult, getRarity, getRenderPropertiesInternal, getTooltipImage, getUseAnimation, getUseDuration, hasCraftingRemainingItem, hurtEnemy, initializeClient, interactLivingEntity, inventoryTick, isBarVisible, isComplex, isCorrectToolForDrops, isEdible, isFireResistant, isFoil, isRepairable, isValidRepairItem, mineBlock, onCraftedBy, onDestroyed, onUseTick, overrideOtherStackedOnMe, overrideStackedOnOther, releaseUsing, requiredFeatures, shouldOverrideMultiplayerNbt, toString, use, useOn, useOnRelease, verifyTagAfterLoad

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait

    Methods inherited from interface net.minecraft.world.flag.FeatureElement

    isEnabled

    Methods inherited from interface top.theillusivec4.curios.api.type.capability.ICurioItem

    canEquip, canEquip, canRightClickEquip, canSync, canSync, canUnequip, canUnequip, curioAnimate, curioBreak, curioBreak, curioTick, getAttributeModifiers, getAttributeModifiers, getAttributesTooltip, getDropRule, getDropRule, getEquipSound, getFortuneBonus, getFortuneLevel, getLootingBonus, getLootingLevel, getSlotsTooltip, getTagsTooltip, hasCurioCapability, isEnderMask, makesPiglinsNeutral, onEquip, onEquip, onEquipFromUse, onUnequip, onUnequip, playRightClickEquipSound, readSyncData, readSyncData, showAttributesTooltip, writeSyncData, writeSyncData

    Methods 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, shouldCauseReequipAnimation
  • Constructor Details

    • RuneCold

      public RuneCold(net.minecraft.world.item.Item.Properties properties)
  • Method Details

    • curioTick

      public void curioTick(top.theillusivec4.curios.api.SlotContext slotContext, net.minecraft.world.item.ItemStack stack)
      Description copied from interface: top.theillusivec4.curios.api.type.capability.ICurioItem
      Called every tick on both client and server while the ItemStack is equipped.
      Specified by:
      curioTick in interface top.theillusivec4.curios.api.type.capability.ICurioItem
      Parameters:
      slotContext - The context for the slot that the ItemStack is in
      stack - The ItemStack in question
    • canEquipFromUse

      public boolean canEquipFromUse(top.theillusivec4.curios.api.SlotContext slot, net.minecraft.world.item.ItemStack stack)
      Description copied from interface: top.theillusivec4.curios.api.type.capability.ICurioItem
      Determines if the ItemStack can be automatically equipped into the first available slot when used.
      Specified by:
      canEquipFromUse in interface top.theillusivec4.curios.api.type.capability.ICurioItem
      Parameters:
      slot - Context about the slot that the ItemStack
      stack - The ItemStack in question
      Returns:
      True to enable auto-equipping when the item is used, false to disable
    • isEnchantable

      public boolean isEnchantable(net.minecraft.world.item.ItemStack pStack)
      Overrides:
      isEnchantable in class net.minecraft.world.item.Item
    • canWalkOnPowderedSnow

      public boolean canWalkOnPowderedSnow(top.theillusivec4.curios.api.SlotContext slotContext, net.minecraft.world.item.ItemStack stack)
      Description copied from interface: top.theillusivec4.curios.api.type.capability.ICurioItem
      Determines whether wearing the curio will allow the user to walk on powder snow, in the same manner as wearing leather boots in vanilla.
      Specified by:
      canWalkOnPowderedSnow in interface top.theillusivec4.curios.api.type.capability.ICurioItem
      Parameters:
      slotContext - Context about the slot that the ItemStack is in
      Returns:
      True if the user can walk on powder snow, false otherwise
    • appendHoverText

      public void appendHoverText(net.minecraft.world.item.ItemStack stack, net.minecraft.world.level.Level world, List<net.minecraft.network.chat.Component> tooltip, net.minecraft.world.item.TooltipFlag flags)
      Overrides:
      appendHoverText in class net.minecraft.world.item.Item