Class PocketCraftingClientHandler.SlotHashStrategy

java.lang.Object
petrolpark.mc.library.core.world.item.crafting.pocket.PocketCraftingClientHandler.SlotHashStrategy
All Implemented Interfaces:
it.unimi.dsi.fastutil.Hash.Strategy<net.minecraft.world.inventory.Slot>
Enclosing class:
PocketCraftingClientHandler

public class PocketCraftingClientHandler.SlotHashStrategy extends Object implements it.unimi.dsi.fastutil.Hash.Strategy<net.minecraft.world.inventory.Slot>
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    protected net.minecraft.world.inventory.AbstractContainerMenu
     
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    equals(net.minecraft.world.inventory.Slot a, net.minecraft.world.inventory.Slot b)
     
    int
    getIndex(net.minecraft.world.inventory.Slot o)
     
    int
    hashCode(net.minecraft.world.inventory.Slot o)
     

    Methods inherited from class java.lang.Object

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

  • Constructor Details

    • SlotHashStrategy

      public SlotHashStrategy()
  • Method Details

    • getIndex

      public int getIndex(net.minecraft.world.inventory.Slot o)
    • hashCode

      public int hashCode(net.minecraft.world.inventory.Slot o)
      Specified by:
      hashCode in interface it.unimi.dsi.fastutil.Hash.Strategy<net.minecraft.world.inventory.Slot>
    • equals

      public boolean equals(net.minecraft.world.inventory.Slot a, net.minecraft.world.inventory.Slot b)
      Specified by:
      equals in interface it.unimi.dsi.fastutil.Hash.Strategy<net.minecraft.world.inventory.Slot>