Class BundleLikeMouseActions

java.lang.Object
net.ntrdeal.realapi.item.stack_holder.BundleLikeMouseActions
All Implemented Interfaces:
net.minecraft.client.gui.ItemSlotMouseAction

public class BundleLikeMouseActions extends Object implements net.minecraft.client.gui.ItemSlotMouseAction
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    matches(net.minecraft.world.inventory.Slot slot)
     
    boolean
    onMouseScrolled(double scrollX, double scrollY, int slotIndex, net.minecraft.world.item.ItemStack stack)
     
    void
    onSlotClicked(net.minecraft.world.inventory.Slot slot, net.minecraft.world.inventory.ContainerInput input)
     
    void
    onStopHovering(net.minecraft.world.inventory.Slot slot)
     
    void
    resetIndex(net.minecraft.world.item.ItemStack stack, int slotIndex)
     
    void
    setIndex(net.minecraft.world.item.ItemStack stack, int slotIndex, int index)
     

    Methods inherited from class Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • BundleLikeMouseActions

      public BundleLikeMouseActions()
  • Method Details

    • matches

      public boolean matches(net.minecraft.world.inventory.Slot slot)
      Specified by:
      matches in interface net.minecraft.client.gui.ItemSlotMouseAction
    • onMouseScrolled

      public boolean onMouseScrolled(double scrollX, double scrollY, int slotIndex, net.minecraft.world.item.ItemStack stack)
      Specified by:
      onMouseScrolled in interface net.minecraft.client.gui.ItemSlotMouseAction
    • onStopHovering

      public void onStopHovering(net.minecraft.world.inventory.Slot slot)
      Specified by:
      onStopHovering in interface net.minecraft.client.gui.ItemSlotMouseAction
    • onSlotClicked

      public void onSlotClicked(net.minecraft.world.inventory.Slot slot, net.minecraft.world.inventory.ContainerInput input)
      Specified by:
      onSlotClicked in interface net.minecraft.client.gui.ItemSlotMouseAction
    • resetIndex

      public void resetIndex(net.minecraft.world.item.ItemStack stack, int slotIndex)
    • setIndex

      public void setIndex(net.minecraft.world.item.ItemStack stack, int slotIndex, int index)