Class PlayerArmorSlotMixin

java.lang.Object
net.minecraft.screen.slot.Slot
meteordevelopment.meteorclient.mixin.PlayerArmorSlotMixin

public abstract class PlayerArmorSlotMixin extends net.minecraft.screen.slot.Slot
  • Field Summary

    Fields inherited from class net.minecraft.screen.slot.Slot

    id, inventory, x, y
  • Constructor Summary

    Constructors
    Constructor
    Description
    PlayerArmorSlotMixin(net.minecraft.inventory.Inventory inventory, int index, int x, int y)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    canInsert(net.minecraft.item.ItemStack stack)
     
    boolean
    canTakeItems(net.minecraft.entity.player.PlayerEntity playerEntity)
     
    int
     

    Methods inherited from class net.minecraft.screen.slot.Slot

    canBeHighlighted, canTakePartial, disablesDynamicDisplay, getBackgroundSprite, getIndex, getMaxItemCount, getStack, hasStack, insertStack, insertStack, isEnabled, markDirty, onCrafted, onCrafted, onQuickTransfer, onTake, onTakeItem, setStack, setStack, setStackNoCallbacks, takeStack, takeStackRange, tryTakeStackRange

    Methods inherited from class java.lang.Object

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

    • PlayerArmorSlotMixin

      public PlayerArmorSlotMixin(net.minecraft.inventory.Inventory inventory, int index, int x, int y)
  • Method Details

    • getMaxItemCount

      public int getMaxItemCount()
      Overrides:
      getMaxItemCount in class net.minecraft.screen.slot.Slot
    • canInsert

      public boolean canInsert(net.minecraft.item.ItemStack stack)
      Overrides:
      canInsert in class net.minecraft.screen.slot.Slot
    • canTakeItems

      public boolean canTakeItems(net.minecraft.entity.player.PlayerEntity playerEntity)
      Overrides:
      canTakeItems in class net.minecraft.screen.slot.Slot