Class PlayerInventoryMixin

java.lang.Object
dev.jaxydog.astral.mixin.PlayerInventoryMixin
All Implemented Interfaces:
net.minecraft.inventory.Inventory, net.minecraft.util.Clearable, net.minecraft.util.Nameable

public abstract class PlayerInventoryMixin extends Object implements net.minecraft.inventory.Inventory, net.minecraft.util.Nameable
Attempts to automatically combine currency items within the player's inventory.
Since:
1.2.0
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    net.minecraft.entity.player.PlayerEntity
    The player instance.

    Fields inherited from interface net.minecraft.inventory.Inventory

    field_42619, MAX_COUNT_PER_STACK
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    Methods inherited from interface net.minecraft.util.Clearable

    clear

    Methods inherited from interface net.minecraft.inventory.Inventory

    canPlayerUse, canTransferTo, containsAny, containsAny, count, getMaxCountPerStack, getStack, isEmpty, isValid, markDirty, onClose, onOpen, removeStack, removeStack, setStack, size

    Methods inherited from interface net.minecraft.util.Nameable

    getCustomName, getDisplayName, getName, hasCustomName
  • Field Details

    • player

      public net.minecraft.entity.player.PlayerEntity player
      The player instance.
      Since:
      1.2.0
  • Constructor Details

    • PlayerInventoryMixin

      public PlayerInventoryMixin()