java.lang.Object
com.google.common.collect.ForwardingObject
com.google.common.collect.ForwardingCollection<E>
com.google.common.collect.ForwardingList<ItemStack>
net.minecraft.client.player.inventory.Hotbar
All Implemented Interfaces:
Iterable<ItemStack>, Collection<ItemStack>, List<ItemStack>

public class Hotbar extends com.google.common.collect.ForwardingList<ItemStack>
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
     
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
     
    protected List<ItemStack>
     
    void
    fromTag​(ListTag p_108784_)
     
    boolean
     

    Methods inherited from class com.google.common.collect.ForwardingList

    add, addAll, equals, get, hashCode, indexOf, lastIndexOf, listIterator, listIterator, remove, set, standardAdd, standardAddAll, standardEquals, standardHashCode, standardIndexOf, standardIterator, standardLastIndexOf, standardListIterator, standardListIterator, standardSubList, subList

    Methods inherited from class com.google.common.collect.ForwardingCollection

    add, addAll, clear, contains, containsAll, iterator, remove, removeAll, retainAll, size, standardAddAll, standardClear, standardContains, standardContainsAll, standardIsEmpty, standardRemove, standardRemoveAll, standardRetainAll, standardToArray, standardToArray, standardToString, toArray, toArray

    Methods inherited from class com.google.common.collect.ForwardingObject

    toString

    Methods inherited from class java.lang.Object

    clone, finalize, getClass, notify, notifyAll, wait, wait, wait

    Methods inherited from interface java.util.Collection

    parallelStream, removeIf, stream, toArray

    Methods inherited from interface java.lang.Iterable

    forEach
  • Field Details

  • Constructor Details

    • Hotbar

      public Hotbar()
  • Method Details

    • delegate

      protected List<ItemStack> delegate()
      Specified by:
      delegate in class com.google.common.collect.ForwardingList<ItemStack>
    • createTag

      public ListTag createTag()
    • fromTag

      public void fromTag(ListTag p_108784_)
    • isEmpty

      public boolean isEmpty()
      Specified by:
      isEmpty in interface Collection<ItemStack>
      Specified by:
      isEmpty in interface List<ItemStack>
      Overrides:
      isEmpty in class com.google.common.collect.ForwardingCollection<ItemStack>