Class MultiTickScheduler<T>

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

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

    • mapper

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

    • MultiTickScheduler

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

    • isScheduled

      public boolean isScheduled​(BlockPos pos, T object)
      Specified by:
      isScheduled in interface TickScheduler<T>
      Mappings:
      Namespace Name Mixin selector
      official a Lbun;a(Lfx;Ljava/lang/Object;)Z
      intermediary method_8674 Lnet/minecraft/class_1951;method_8674(Lnet/minecraft/class_2338;Ljava/lang/Object;)Z
      named isScheduled Lnet/minecraft/world/TickScheduler;isScheduled(Lnet/minecraft/util/math/BlockPos;Ljava/lang/Object;)Z
    • schedule

      public void schedule​(BlockPos pos, T object, int delay, TickPriority priority)
      Specified by:
      schedule in interface TickScheduler<T>
      Mappings:
      Namespace Name Mixin selector
      official a Lbun;a(Lfx;Ljava/lang/Object;ILbup;)V
      intermediary method_8675 Lnet/minecraft/class_1951;method_8675(Lnet/minecraft/class_2338;Ljava/lang/Object;ILnet/minecraft/class_1953;)V
      named schedule Lnet/minecraft/world/TickScheduler;schedule(Lnet/minecraft/util/math/BlockPos;Ljava/lang/Object;ILnet/minecraft/world/TickPriority;)V
    • isTicking

      public boolean isTicking​(BlockPos pos, T object)
      Specified by:
      isTicking in interface TickScheduler<T>
      Mappings:
      Namespace Name Mixin selector
      official b Lbun;b(Lfx;Ljava/lang/Object;)Z
      intermediary method_8677 Lnet/minecraft/class_1951;method_8677(Lnet/minecraft/class_2338;Ljava/lang/Object;)Z
      named isTicking Lnet/minecraft/world/TickScheduler;isTicking(Lnet/minecraft/util/math/BlockPos;Ljava/lang/Object;)Z