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 -
Method Summary
Modifier and TypeMethodDescriptionbooleanmatches(net.minecraft.world.inventory.Slot slot) booleanonMouseScrolled(double scrollX, double scrollY, int slotIndex, net.minecraft.world.item.ItemStack stack) voidonSlotClicked(net.minecraft.world.inventory.Slot slot, net.minecraft.world.inventory.ContainerInput input) voidonStopHovering(net.minecraft.world.inventory.Slot slot) voidresetIndex(net.minecraft.world.item.ItemStack stack, int slotIndex) voidsetIndex(net.minecraft.world.item.ItemStack stack, int slotIndex, int index)
-
Constructor Details
-
BundleLikeMouseActions
public BundleLikeMouseActions()
-
-
Method Details
-
matches
public boolean matches(net.minecraft.world.inventory.Slot slot) - Specified by:
matchesin interfacenet.minecraft.client.gui.ItemSlotMouseAction
-
onMouseScrolled
public boolean onMouseScrolled(double scrollX, double scrollY, int slotIndex, net.minecraft.world.item.ItemStack stack) - Specified by:
onMouseScrolledin interfacenet.minecraft.client.gui.ItemSlotMouseAction
-
onStopHovering
public void onStopHovering(net.minecraft.world.inventory.Slot slot) - Specified by:
onStopHoveringin interfacenet.minecraft.client.gui.ItemSlotMouseAction
-
onSlotClicked
public void onSlotClicked(net.minecraft.world.inventory.Slot slot, net.minecraft.world.inventory.ContainerInput input) - Specified by:
onSlotClickedin interfacenet.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)
-