Class MappedFixedItemInvView

java.lang.Object
alexiil.mc.lib.attributes.item.impl.AbstractPartialFixedItemInvView
alexiil.mc.lib.attributes.item.impl.MappedFixedItemInvView
All Implemented Interfaces:
Convertible, AbstractItemInvView, FixedItemInvView
Direct Known Subclasses:
MappedFixedItemInv

public class MappedFixedItemInvView extends AbstractPartialFixedItemInvView
Default implementation for FixedItemInvView.getMappedInv(int...).
  • Field Details

    • slots

      protected final int[] slots
    • inverseSlotMap

      protected final it.unimi.dsi.fastutil.ints.Int2IntMap inverseSlotMap
  • Constructor Details

    • MappedFixedItemInvView

      public MappedFixedItemInvView(FixedItemInvView inv, int[] slots)
  • Method Details