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
named net/minecraft/world/tick/MultiTickScheduler
intermediary net/minecraft/class_3235
official eyy
  • Field Details

    • mapper

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

    • MultiTickScheduler

      public MultiTickScheduler(Function<BlockPos,BasicTickScheduler<T>> mapper)
      Mappings:
      Namespace Name Mixin selector
      named <init> Lnet/minecraft/world/tick/MultiTickScheduler;<init>(Ljava/util/function/Function;)V
      intermediary <init> Lnet/minecraft/class_3235;<init>(Ljava/util/function/Function;)V
      official <init> Leyy;<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
      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 Leyv;a(Ljd;Ljava/lang/Object;)Z
    • 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 Leyv;a(Leyt;)V
    • isTicking

      public boolean isTicking(BlockPos pos, T type)
      Specified by:
      isTicking in interface QueryableTickScheduler<T>
      Mappings:
      Namespace Name Mixin selector
      named isTicking Lnet/minecraft/world/tick/QueryableTickScheduler;isTicking(Lnet/minecraft/util/math/BlockPos;Ljava/lang/Object;)Z
      intermediary method_8677 Lnet/minecraft/class_6756;method_8677(Lnet/minecraft/class_2338;Ljava/lang/Object;)Z
      official b Leyp;b(Ljd;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 Leyv;a()I