Class NextTickListEntry<T>


  • public class NextTickListEntry<T>
    extends java.lang.Object
    • Field Detail

      • counter

        private static long counter
      • type

        private final T type
      • triggerTick

        public final long triggerTick
      • c

        private final long c
    • Constructor Detail

      • NextTickListEntry

        public NextTickListEntry​(BlockPos p_i48977_1_,
                                 T p_i48977_2_)
      • NextTickListEntry

        public NextTickListEntry​(BlockPos p_i48978_1_,
                                 T p_i48978_2_,
                                 long p_i48978_3_,
                                 TickPriority p_i48978_5_)
    • Method Detail

      • equals

        public boolean equals​(java.lang.Object p_equals_1_)
        Overrides:
        equals in class java.lang.Object
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object
      • createTimeComparator

        public static <T> java.util.Comparator<NextTickListEntry<T>> createTimeComparator()
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object
      • getType

        public T getType()