Class MultiTickScheduler<T>

java.lang.Object
net.minecraft.world.tick.MultiTickScheduler<T>
All Implemented Interfaces:
QueryableTickScheduler<T>, TickScheduler<T>

public class MultiTickScheduler<T> extends Object implements QueryableTickScheduler<T>
Mappings:
Namespace Name
official eje
intermediary net/minecraft/class_3235
named net/minecraft/world/tick/MultiTickScheduler
  • Field Details

    • mapper

      private final Function<BlockPos,BasicTickScheduler<T>> mapper
      Mappings:
      Namespace Name Mixin selector
      official a Leje;a:Ljava/util/function/Function;
      intermediary field_35552 Lnet/minecraft/class_3235;field_35552:Ljava/util/function/Function;
      named mapper Lnet/minecraft/world/tick/MultiTickScheduler;mapper:Ljava/util/function/Function;
  • Constructor Details

    • MultiTickScheduler

      public MultiTickScheduler(Function<BlockPos,BasicTickScheduler<T>> mapper)
      Mappings:
      Namespace Name Mixin selector
      official <init> Leje;<init>(Ljava/util/function/Function;)V
      intermediary <init> Lnet/minecraft/class_3235;<init>(Ljava/util/function/Function;)V
      named <init> Lnet/minecraft/world/tick/MultiTickScheduler;<init>(Ljava/util/function/Function;)V
  • Method Details

    • isQueued

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

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

      public boolean isTicking(BlockPos pos, T type)
      Specified by:
      isTicking in interface QueryableTickScheduler<T>
      Mappings:
      Namespace Name Mixin selector
      official b Leiv;b(Lgw;Ljava/lang/Object;)Z
      intermediary method_8677 Lnet/minecraft/class_6756;method_8677(Lnet/minecraft/class_2338;Ljava/lang/Object;)Z
      named isTicking Lnet/minecraft/world/tick/QueryableTickScheduler;isTicking(Lnet/minecraft/util/math/BlockPos;Ljava/lang/Object;)Z
    • getTickCount

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