Class MagnetBootCurio

java.lang.Object
net.jcm.vsch.compat.curios.MagnetBootCurio
All Implemented Interfaces:
top.theillusivec4.curios.api.type.capability.ICurio

public final class MagnetBootCurio extends Object implements top.theillusivec4.curios.api.type.capability.ICurio
  • Nested Class Summary

    Nested classes/interfaces inherited from interface top.theillusivec4.curios.api.type.capability.ICurio

    top.theillusivec4.curios.api.type.capability.ICurio.DropRule, top.theillusivec4.curios.api.type.capability.ICurio.SoundInfo
  • Constructor Summary

    Constructors
    Constructor
    Description
    MagnetBootCurio(MagnetBootItem item, net.minecraft.world.item.ItemStack stack)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    curioTick(top.theillusivec4.curios.api.SlotContext context)
    Called every tick on both client and server while the ItemStack is equipped.
    net.minecraft.world.item.ItemStack
    Gets the ItemStack associated with the instance

    Methods inherited from class java.lang.Object

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

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

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

    • MagnetBootCurio

      public MagnetBootCurio(MagnetBootItem item, net.minecraft.world.item.ItemStack stack)
  • Method Details

    • getStack

      public net.minecraft.world.item.ItemStack getStack()
      Description copied from interface: top.theillusivec4.curios.api.type.capability.ICurio
      Gets the ItemStack associated with the instance
      Specified by:
      getStack in interface top.theillusivec4.curios.api.type.capability.ICurio
      Returns:
      The ItemStack associated with the instance
    • curioTick

      public void curioTick(top.theillusivec4.curios.api.SlotContext context)
      Description copied from interface: top.theillusivec4.curios.api.type.capability.ICurio
      Called every tick on both client and server while the ItemStack is equipped.
      Specified by:
      curioTick in interface top.theillusivec4.curios.api.type.capability.ICurio
      Parameters:
      context - Context about the slot that the ItemStack is in