Interface IToggleableItem

All Known Implementing Classes:
MagnetBootItem

public interface IToggleableItem
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    onToggle(net.minecraft.world.entity.player.Player owner, net.minecraft.world.item.ItemStack stack)
     
    static boolean
    toggleCuriosSlot(net.minecraft.world.entity.player.Player player, String id, Predicate<net.minecraft.world.item.ItemStack> tester)
     
    static boolean
    toggleSlot(net.minecraft.world.entity.player.Player player, int slot)
     
  • Method Details

    • onToggle

      void onToggle(net.minecraft.world.entity.player.Player owner, net.minecraft.world.item.ItemStack stack)
    • toggleSlot

      static boolean toggleSlot(net.minecraft.world.entity.player.Player player, int slot)
    • toggleCuriosSlot

      static boolean toggleCuriosSlot(net.minecraft.world.entity.player.Player player, String id, Predicate<net.minecraft.world.item.ItemStack> tester)