Class HotbarSnapshot

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

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

    Fields
    Modifier and Type
    Field
    Description
    private final NonNullList<ItemStack>
     
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
     
    protected List<ItemStack>
     
    void
    fromTag(ListNBT p_192833_1_)
     
    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

    • HotbarSnapshot

      public HotbarSnapshot()
  • Method Details

    • delegate

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

      public ListNBT createTag()
    • fromTag

      public void fromTag(ListNBT p_192833_1_)
    • 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>