Class SimpleTickScheduler<T>

java.lang.Object
net.minecraft.world.tick.SimpleTickScheduler<T>
All Implemented Interfaces:
BasicTickScheduler<T>, SerializableTickScheduler<T>, TickScheduler<T>

public class SimpleTickScheduler<T> extends Object implements SerializableTickScheduler<T>, BasicTickScheduler<T>
Mappings:
Namespace Name
named net/minecraft/world/tick/SimpleTickScheduler
intermediary net/minecraft/class_4296
official fdn
  • Field Details

    • scheduledTicks

      private final List<Tick<T>> scheduledTicks
      Mappings:
      Namespace Name Mixin selector
      named scheduledTicks Lnet/minecraft/world/tick/SimpleTickScheduler;scheduledTicks:Ljava/util/List;
      intermediary field_19275 Lnet/minecraft/class_4296;field_19275:Ljava/util/List;
      official a Lfdn;a:Ljava/util/List;
    • scheduledTicksSet

      private final Set<Tick<?>> scheduledTicksSet
      Mappings:
      Namespace Name Mixin selector
      named scheduledTicksSet Lnet/minecraft/world/tick/SimpleTickScheduler;scheduledTicksSet:Ljava/util/Set;
      intermediary field_35541 Lnet/minecraft/class_4296;field_35541:Ljava/util/Set;
      official b Lfdn;b:Ljava/util/Set;
  • Constructor Details

    • SimpleTickScheduler

      public SimpleTickScheduler()
  • Method Details

    • scheduleTick

      public void scheduleTick(OrderedTick<T> orderedTick)
      Specified by:
      scheduleTick in interface TickScheduler<T>
      Mappings:
      Namespace Name Mixin selector
      named scheduleTick Lnet/minecraft/world/tick/TickScheduler;scheduleTick(Lnet/minecraft/world/tick/OrderedTick;)V
      intermediary method_39363 Lnet/minecraft/class_6762;method_39363(Lnet/minecraft/class_6760;)V
      official a Lfdr;a(Lfdp;)V
    • scheduleTick

      private void scheduleTick(Tick<T> tick)
      Mappings:
      Namespace Name Mixin selector
      named scheduleTick Lnet/minecraft/world/tick/SimpleTickScheduler;scheduleTick(Lnet/minecraft/world/tick/Tick;)V
      intermediary method_39397 Lnet/minecraft/class_4296;method_39397(Lnet/minecraft/class_6759;)V
      official a Lfdn;a(Lfdo;)V
    • isQueued

      public boolean isQueued(BlockPos pos, T type)
      Specified by:
      isQueued in interface TickScheduler<T>
      Mappings:
      Namespace Name Mixin selector
      named isQueued Lnet/minecraft/world/tick/TickScheduler;isQueued(Lnet/minecraft/util/math/BlockPos;Ljava/lang/Object;)Z
      intermediary method_8674 Lnet/minecraft/class_6762;method_8674(Lnet/minecraft/class_2338;Ljava/lang/Object;)Z
      official a Lfdr;a(Ljh;Ljava/lang/Object;)Z
    • getTickCount

      public int getTickCount()
      Specified by:
      getTickCount in interface TickScheduler<T>
      Mappings:
      Namespace Name Mixin selector
      named getTickCount Lnet/minecraft/world/tick/TickScheduler;getTickCount()I
      intermediary method_20825 Lnet/minecraft/class_6762;method_20825()I
      official a Lfdr;a()I
    • collectTicks

      public List<Tick<T>> collectTicks(long time)
      Specified by:
      collectTicks in interface SerializableTickScheduler<T>
      Mappings:
      Namespace Name Mixin selector
      named collectTicks Lnet/minecraft/world/tick/SerializableTickScheduler;collectTicks(J)Ljava/util/List;
      intermediary method_61898 Lnet/minecraft/class_6761;method_61898(J)Ljava/util/List;
      official a Lfdq;a(J)Ljava/util/List;
    • getTicks

      public List<Tick<T>> getTicks()
      Mappings:
      Namespace Name Mixin selector
      named getTicks Lnet/minecraft/world/tick/SimpleTickScheduler;getTicks()Ljava/util/List;
      intermediary method_39399 Lnet/minecraft/class_4296;method_39399()Ljava/util/List;
      official b Lfdn;b()Ljava/util/List;
    • tick

      public static <T> SimpleTickScheduler<T> tick(List<Tick<T>> ticks)
      Mappings:
      Namespace Name Mixin selector
      named tick Lnet/minecraft/world/tick/SimpleTickScheduler;tick(Ljava/util/List;)Lnet/minecraft/world/tick/SimpleTickScheduler;
      intermediary method_39398 Lnet/minecraft/class_4296;method_39398(Ljava/util/List;)Lnet/minecraft/class_4296;
      official a Lfdn;a(Ljava/util/List;)Lfdn;