java.lang.Object
petrolpark.mc.library.core.world.item.crafting.pocket.PocketCrafting

public class PocketCrafting extends Object
  • Field Details

    • SLOT_COMPARATOR

      public static final Comparator<net.minecraft.world.inventory.Slot> SLOT_COMPARATOR
  • Constructor Details

    • PocketCrafting

      public PocketCrafting()
  • Method Details

    • organiseSlots

      public static net.createmod.catnip.data.Pair<it.unimi.dsi.fastutil.ints.Int2ObjectMap<it.unimi.dsi.fastutil.ints.Int2ObjectMap<net.minecraft.world.inventory.Slot>>,it.unimi.dsi.fastutil.ints.Int2ObjectMap<PocketCrafting.SlotGrid>> organiseSlots(net.minecraft.world.inventory.AbstractContainerMenu menu, Collection<net.minecraft.world.inventory.Slot> slots, PocketCrafting.SlotArrangement backgroundSlots)
    • getOrBackground

      @Nullable public static net.minecraft.world.inventory.Slot getOrBackground(int x, int y, net.minecraft.world.inventory.AbstractContainerMenu menu, it.unimi.dsi.fastutil.ints.Int2ObjectMap<it.unimi.dsi.fastutil.ints.Int2ObjectMap<net.minecraft.world.inventory.Slot>> slots, PocketCrafting.SlotArrangement backgroundSlots)