Class MerchantMenuMixin

java.lang.Object
net.minecraft.world.inventory.AbstractContainerMenu
com.mrbysco.retraining.mixin.MerchantMenuMixin

public abstract class MerchantMenuMixin 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
    MerchantMenuMixin(net.minecraft.world.inventory.MenuType<?> containerType, int menuID)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    retrainingConstructor(int id, net.minecraft.world.entity.player.Inventory playerInventory, net.minecraft.world.item.trading.Merchant merchant, org.spongepowered.asm.mixin.injection.callback.CallbackInfo ci)
     

    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

    • MerchantMenuMixin

      protected MerchantMenuMixin(net.minecraft.world.inventory.MenuType<?> containerType, int menuID)
  • Method Details

    • retrainingConstructor

      public void retrainingConstructor(int id, net.minecraft.world.entity.player.Inventory playerInventory, net.minecraft.world.item.trading.Merchant merchant, org.spongepowered.asm.mixin.injection.callback.CallbackInfo ci)