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>
-
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 booleanisScheduled(BlockPos pos, T object)booleanisTicking(BlockPos pos, T object)voidschedule(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, waitMethods inherited from interface net.minecraft.world.TickScheduler
schedule
-
Field Details
-
mapper
-
-
Constructor Details
-
MultiTickScheduler
-
-
Method Details
-
isScheduled
- Specified by:
isScheduledin interfaceTickScheduler<T>
-
schedule
- Specified by:
schedulein interfaceTickScheduler<T>
-
isTicking
- Specified by:
isTickingin interfaceTickScheduler<T>
-