Package net.minecraft.world
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 Summary
Fields Modifier and Type Field Description private Function<BlockPos,TickScheduler<T>>
mapper
-
Constructor Summary
Constructors Constructor Description MultiTickScheduler(Function<BlockPos,TickScheduler<T>> mapper)
-
Method Summary
Modifier and Type Method Description boolean
isScheduled(BlockPos pos, T object)
boolean
isTicking(BlockPos pos, T object)
void
schedule(BlockPos pos, T object, int delay, TickPriority priority)
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface net.minecraft.world.TickScheduler
schedule
-
Field Details
-
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
- 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
- Specified by:
isScheduled
in interfaceTickScheduler<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
- Specified by:
schedule
in interfaceTickScheduler<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
- Specified by:
isTicking
in interfaceTickScheduler<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
-