Class PocketCrafting
java.lang.Object
petrolpark.mc.library.core.world.item.crafting.pocket.PocketCrafting
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic interfacestatic interfacestatic interfacestatic class -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic net.minecraft.world.inventory.SlotgetOrBackground(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) 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)
-
Field Details
-
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)
-