Class MixinMerchantMenu

java.lang.Object
net.minecraft.world.inventory.AbstractContainerMenu
com.viaversion.viafabricplus.injection.mixin.features.interaction.container_clicking.MixinMerchantMenu

public abstract class MixinMerchantMenu extends net.minecraft.world.inventory.AbstractContainerMenu
  • Field Summary

    Fields inherited from class net.minecraft.world.inventory.AbstractContainerMenu

    CARRIED_SLOT_SIZE, containerId, QUICKCRAFT_HEADER_CONTINUE, QUICKCRAFT_HEADER_END, QUICKCRAFT_HEADER_START, QUICKCRAFT_TYPE_CHARITABLE, QUICKCRAFT_TYPE_CLONE, QUICKCRAFT_TYPE_GREEDY, SLOT_CLICKED_OUTSIDE, SLOT_SIZE, slots, SLOTS_PER_ROW
  • Constructor Summary

    Constructors
    Modifier
    Constructor
    Description
    protected
    MixinMerchantMenu(@Nullable net.minecraft.world.inventory.MenuType<?> type, int syncId)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    abstract net.minecraft.world.item.trading.MerchantOffers
     

    Methods inherited from class net.minecraft.world.inventory.AbstractContainerMenu

    addDataSlot, addDataSlots, addInventoryExtendedSlots, addInventoryHotbarSlots, addSlot, addSlotListener, addStandardInventorySlots, broadcastChanges, broadcastFullState, canDragTo, canItemQuickReplace, canTakeItemForPickAll, checkContainerDataCount, checkContainerSize, clearContainer, clicked, clickMenuButton, findSlot, getCarried, getItems, getQuickcraftHeader, getQuickcraftMask, getQuickCraftPlaceCount, getQuickcraftType, getRedstoneSignalFromBlockEntity, getRedstoneSignalFromContainer, getSlot, getStateId, getType, incrementStateId, initializeContents, isValidQuickcraftType, isValidSlotIndex, moveItemStackTo, quickMoveStack, removed, removeSlotListener, resetQuickCraft, resumeRemoteUpdates, sendAllDataToRemote, setCarried, setData, setItem, setRemoteCarried, setRemoteSlot, setRemoteSlotUnsafe, setSelectedBundleItemIndex, setSynchronizer, slotsChanged, stillValid, stillValid, suppressRemoteUpdates, transferState

    Methods inherited from class Object

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

    • MixinMerchantMenu

      protected MixinMerchantMenu(@Nullable @Nullable net.minecraft.world.inventory.MenuType<?> type, int syncId)
  • Method Details

    • getOffers

      public abstract net.minecraft.world.item.trading.MerchantOffers getOffers()