Class HotbarSnapshot

  • All Implemented Interfaces:
    java.lang.Iterable<ItemStack>, java.util.Collection<ItemStack>, java.util.List<ItemStack>

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

      Constructors 
      Constructor Description
      HotbarSnapshot()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      ListNBT createTag()  
      protected java.util.List<ItemStack> delegate()  
      void fromTag​(ListNBT p_192833_1_)  
      boolean isEmpty()  
      • 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
      • Methods inherited from interface java.util.List

        add, addAll, clear, contains, containsAll, iterator, remove, removeAll, replaceAll, retainAll, size, sort, spliterator, toArray, toArray
    • Constructor Detail

      • HotbarSnapshot

        public HotbarSnapshot()
    • Method Detail

      • delegate

        protected java.util.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 java.util.Collection<ItemStack>
        Specified by:
        isEmpty in interface java.util.List<ItemStack>
        Overrides:
        isEmpty in class com.google.common.collect.ForwardingCollection<ItemStack>