Class FixedSidedInventoryVanillaWrapper

All Implemented Interfaces:
Convertible, AbstractItemInvView, FixedItemInv, FixedItemInv.ModifiableFixedItemInv, FixedItemInvView, OpenWrapper

public class FixedSidedInventoryVanillaWrapper extends FixedInventoryVanillaWrapper
An FixedItemInv that wraps a vanilla SidedInventory for a particular side.
  • Constructor Details

    • FixedSidedInventoryVanillaWrapper

      public FixedSidedInventoryVanillaWrapper(net.minecraft.inventory.SidedInventory inv, net.minecraft.util.math.Direction side)
  • Method Details

    • create

      public static FixedItemInv create(net.minecraft.inventory.SidedInventory inventory, net.minecraft.util.math.Direction side)
    • canExtract

      protected boolean canExtract(int slot, net.minecraft.item.ItemStack extractedStack)
      Overrides:
      canExtract in class FixedInventoryVanillaWrapper
    • canInsert

      protected boolean canInsert(int slot, net.minecraft.item.ItemStack newStack)
      Overrides:
      canInsert in class FixedInventoryVanillaWrapper