Package net.minecraft.world.tick
Class WorldTickScheduler<T>
java.lang.Object
net.minecraft.world.tick.WorldTickScheduler<T>
- All Implemented Interfaces:
QueryableTickScheduler<T>
,TickScheduler<T>
- Mappings:
Namespace Name named net/minecraft/world/tick/WorldTickScheduler
intermediary net/minecraft/class_6757
official fdm
-
Nested Class Summary
-
Field Summary
Modifier and TypeFieldDescriptionprivate final Long2ObjectMap
<ChunkTickScheduler<T>> private static final Comparator
<ChunkTickScheduler<?>> private final Set
<OrderedTick<?>> private final Long2LongMap
private final BiConsumer
<ChunkTickScheduler<T>, OrderedTick<T>> private final Queue
<ChunkTickScheduler<T>> private final Queue
<OrderedTick<T>> private final List
<OrderedTick<T>> private final LongPredicate
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
addChunkTickScheduler
(ChunkPos pos, ChunkTickScheduler<T> scheduler) private void
addTickableTick
(OrderedTick<T> tick) private void
addTickableTicks
(long time, int maxTicks) private void
addTickableTicks
(Queue<ChunkTickScheduler<T>> tickableChunkTickSchedulers, ChunkTickScheduler<T> chunkTickScheduler, long tick, int maxTicks) private void
clear()
void
clearNextTicks
(BlockBox box) private void
collectTickableChunkTickSchedulers
(long time) private void
collectTickableTicks
(long time, int maxTicks, Profiler profiler) private void
private void
int
boolean
private boolean
isTickableTicksCountUnder
(int maxTicks) boolean
void
private void
schedule
(OrderedTick<T> tick) void
scheduleTick
(OrderedTick<T> orderedTick) void
scheduleTicks
(BlockBox box, Vec3i offset) void
scheduleTicks
(WorldTickScheduler<T> scheduler, BlockBox box, Vec3i offset) void
tick
(long time, int maxTicks, BiConsumer<BlockPos, T> ticker) private void
tick
(BiConsumer<BlockPos, T> ticker) private void
visitChunks
(BlockBox box, WorldTickScheduler.ChunkVisitor<T> visitor)
-
Field Details
-
COMPARATOR
- Mappings:
Namespace Name Mixin selector named COMPARATOR
Lnet/minecraft/world/tick/WorldTickScheduler;COMPARATOR:Ljava/util/Comparator;
intermediary field_35531
Lnet/minecraft/class_6757;field_35531:Ljava/util/Comparator;
official a
Lfdm;a:Ljava/util/Comparator;
-
tickingFutureReadyPredicate
- Mappings:
Namespace Name Mixin selector named tickingFutureReadyPredicate
Lnet/minecraft/world/tick/WorldTickScheduler;tickingFutureReadyPredicate:Ljava/util/function/LongPredicate;
intermediary field_35532
Lnet/minecraft/class_6757;field_35532:Ljava/util/function/LongPredicate;
official b
Lfdm;b:Ljava/util/function/LongPredicate;
-
chunkTickSchedulers
- Mappings:
Namespace Name Mixin selector named chunkTickSchedulers
Lnet/minecraft/world/tick/WorldTickScheduler;chunkTickSchedulers:Lit/unimi/dsi/fastutil/longs/Long2ObjectMap;
intermediary field_35534
Lnet/minecraft/class_6757;field_35534:Lit/unimi/dsi/fastutil/longs/Long2ObjectMap;
official c
Lfdm;c:Lit/unimi/dsi/fastutil/longs/Long2ObjectMap;
-
nextTriggerTickByChunkPos
- Mappings:
Namespace Name Mixin selector named nextTriggerTickByChunkPos
Lnet/minecraft/world/tick/WorldTickScheduler;nextTriggerTickByChunkPos:Lit/unimi/dsi/fastutil/longs/Long2LongMap;
intermediary field_35535
Lnet/minecraft/class_6757;field_35535:Lit/unimi/dsi/fastutil/longs/Long2LongMap;
official d
Lfdm;d:Lit/unimi/dsi/fastutil/longs/Long2LongMap;
-
tickableChunkTickSchedulers
- Mappings:
Namespace Name Mixin selector named tickableChunkTickSchedulers
Lnet/minecraft/world/tick/WorldTickScheduler;tickableChunkTickSchedulers:Ljava/util/Queue;
intermediary field_35536
Lnet/minecraft/class_6757;field_35536:Ljava/util/Queue;
official e
Lfdm;e:Ljava/util/Queue;
-
tickableTicks
- Mappings:
Namespace Name Mixin selector named tickableTicks
Lnet/minecraft/world/tick/WorldTickScheduler;tickableTicks:Ljava/util/Queue;
intermediary field_35537
Lnet/minecraft/class_6757;field_35537:Ljava/util/Queue;
official f
Lfdm;f:Ljava/util/Queue;
-
tickedTicks
- Mappings:
Namespace Name Mixin selector named tickedTicks
Lnet/minecraft/world/tick/WorldTickScheduler;tickedTicks:Ljava/util/List;
intermediary field_35538
Lnet/minecraft/class_6757;field_35538:Ljava/util/List;
official g
Lfdm;g:Ljava/util/List;
-
copiedTickableTicksList
- Mappings:
Namespace Name Mixin selector named copiedTickableTicksList
Lnet/minecraft/world/tick/WorldTickScheduler;copiedTickableTicksList:Ljava/util/Set;
intermediary field_35539
Lnet/minecraft/class_6757;field_35539:Ljava/util/Set;
official h
Lfdm;h:Ljava/util/Set;
-
queuedTickConsumer
- Mappings:
Namespace Name Mixin selector named queuedTickConsumer
Lnet/minecraft/world/tick/WorldTickScheduler;queuedTickConsumer:Ljava/util/function/BiConsumer;
intermediary field_35540
Lnet/minecraft/class_6757;field_35540:Ljava/util/function/BiConsumer;
official i
Lfdm;i:Ljava/util/function/BiConsumer;
-
-
Constructor Details
-
WorldTickScheduler
- Mappings:
Namespace Name Mixin selector named <init>
Lnet/minecraft/world/tick/WorldTickScheduler;<init>(Ljava/util/function/LongPredicate;)V
intermediary <init>
Lnet/minecraft/class_6757;<init>(Ljava/util/function/LongPredicate;)V
official <init>
Lfdm;<init>(Ljava/util/function/LongPredicate;)V
-
-
Method Details
-
addChunkTickScheduler
- Mappings:
Namespace Name Mixin selector named addChunkTickScheduler
Lnet/minecraft/world/tick/WorldTickScheduler;addChunkTickScheduler(Lnet/minecraft/util/math/ChunkPos;Lnet/minecraft/world/tick/ChunkTickScheduler;)V
intermediary method_39379
Lnet/minecraft/class_6757;method_39379(Lnet/minecraft/class_1923;Lnet/minecraft/class_6755;)V
official a
Lfdm;a(Ldgn;Lfdk;)V
-
removeChunkTickScheduler
- Mappings:
Namespace Name Mixin selector named removeChunkTickScheduler
Lnet/minecraft/world/tick/WorldTickScheduler;removeChunkTickScheduler(Lnet/minecraft/util/math/ChunkPos;)V
intermediary method_39378
Lnet/minecraft/class_6757;method_39378(Lnet/minecraft/class_1923;)V
official a
Lfdm;a(Ldgn;)V
-
scheduleTick
- Specified by:
scheduleTick
in interfaceTickScheduler<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
Lfdr;a(Lfdp;)V
-
tick
- Mappings:
Namespace Name Mixin selector named tick
Lnet/minecraft/world/tick/WorldTickScheduler;tick(JILjava/util/function/BiConsumer;)V
intermediary method_39377
Lnet/minecraft/class_6757;method_39377(JILjava/util/function/BiConsumer;)V
official a
Lfdm;a(JILjava/util/function/BiConsumer;)V
-
collectTickableTicks
- Mappings:
Namespace Name Mixin selector named collectTickableTicks
Lnet/minecraft/world/tick/WorldTickScheduler;collectTickableTicks(JILnet/minecraft/util/profiler/Profiler;)V
intermediary method_39376
Lnet/minecraft/class_6757;method_39376(JILnet/minecraft/class_3695;)V
official a
Lfdm;a(JILbps;)V
-
collectTickableChunkTickSchedulers
private void collectTickableChunkTickSchedulers(long time) - Mappings:
Namespace Name Mixin selector named collectTickableChunkTickSchedulers
Lnet/minecraft/world/tick/WorldTickScheduler;collectTickableChunkTickSchedulers(J)V
intermediary method_39374
Lnet/minecraft/class_6757;method_39374(J)V
official a
Lfdm;a(J)V
-
addTickableTicks
private void addTickableTicks(long time, int maxTicks) - Mappings:
Namespace Name Mixin selector named addTickableTicks
Lnet/minecraft/world/tick/WorldTickScheduler;addTickableTicks(JI)V
intermediary method_39375
Lnet/minecraft/class_6757;method_39375(JI)V
official a
Lfdm;a(JI)V
-
delayAllTicks
private void delayAllTicks()- Mappings:
Namespace Name Mixin selector named delayAllTicks
Lnet/minecraft/world/tick/WorldTickScheduler;delayAllTicks()V
intermediary method_39392
Lnet/minecraft/class_6757;method_39392()V
official b
Lfdm;b()V
-
schedule
- Mappings:
Namespace Name Mixin selector named schedule
Lnet/minecraft/world/tick/WorldTickScheduler;schedule(Lnet/minecraft/world/tick/OrderedTick;)V
intermediary method_39393
Lnet/minecraft/class_6757;method_39393(Lnet/minecraft/class_6760;)V
official b
Lfdm;b(Lfdp;)V
-
addTickableTicks
private void addTickableTicks(Queue<ChunkTickScheduler<T>> tickableChunkTickSchedulers, ChunkTickScheduler<T> chunkTickScheduler, long tick, int maxTicks) - Mappings:
Namespace Name Mixin selector named addTickableTicks
Lnet/minecraft/world/tick/WorldTickScheduler;addTickableTicks(Ljava/util/Queue;Lnet/minecraft/world/tick/ChunkTickScheduler;JI)V
intermediary method_39389
Lnet/minecraft/class_6757;method_39389(Ljava/util/Queue;Lnet/minecraft/class_6755;JI)V
official a
Lfdm;a(Ljava/util/Queue;Lfdk;JI)V
-
addTickableTick
- Mappings:
Namespace Name Mixin selector named addTickableTick
Lnet/minecraft/world/tick/WorldTickScheduler;addTickableTick(Lnet/minecraft/world/tick/OrderedTick;)V
intermediary method_39395
Lnet/minecraft/class_6757;method_39395(Lnet/minecraft/class_6760;)V
official c
Lfdm;c(Lfdp;)V
-
isTickableTicksCountUnder
private boolean isTickableTicksCountUnder(int maxTicks) - Mappings:
Namespace Name Mixin selector named isTickableTicksCountUnder
Lnet/minecraft/world/tick/WorldTickScheduler;isTickableTicksCountUnder(I)Z
intermediary method_39373
Lnet/minecraft/class_6757;method_39373(I)Z
official a
Lfdm;a(I)Z
-
tick
- Mappings:
Namespace Name Mixin selector named tick
Lnet/minecraft/world/tick/WorldTickScheduler;tick(Ljava/util/function/BiConsumer;)V
intermediary method_39390
Lnet/minecraft/class_6757;method_39390(Ljava/util/function/BiConsumer;)V
official a
Lfdm;a(Ljava/util/function/BiConsumer;)V
-
clear
private void clear()- Mappings:
Namespace Name Mixin selector named clear
Lnet/minecraft/world/tick/WorldTickScheduler;clear()V
intermediary method_39394
Lnet/minecraft/class_6757;method_39394()V
official c
Lfdm;c()V
-
isQueued
- Specified by:
isQueued
in interfaceTickScheduler<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
Lfdr;a(Ljh;Ljava/lang/Object;)Z
-
isTicking
- Specified by:
isTicking
in interfaceQueryableTickScheduler<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
Lfdl;b(Ljh;Ljava/lang/Object;)Z
-
copyTickableTicksList
private void copyTickableTicksList()- Mappings:
Namespace Name Mixin selector named copyTickableTicksList
Lnet/minecraft/world/tick/WorldTickScheduler;copyTickableTicksList()V
intermediary method_39396
Lnet/minecraft/class_6757;method_39396()V
official d
Lfdm;d()V
-
visitChunks
- Mappings:
Namespace Name Mixin selector named visitChunks
Lnet/minecraft/world/tick/WorldTickScheduler;visitChunks(Lnet/minecraft/util/math/BlockBox;Lnet/minecraft/world/tick/WorldTickScheduler$ChunkVisitor;)V
intermediary method_39381
Lnet/minecraft/class_6757;method_39381(Lnet/minecraft/class_3341;Lnet/minecraft/class_6757$class_6758;)V
official a
Lfdm;a(Leob;Lfdm$a;)V
-
clearNextTicks
- Mappings:
Namespace Name Mixin selector named clearNextTicks
Lnet/minecraft/world/tick/WorldTickScheduler;clearNextTicks(Lnet/minecraft/util/math/BlockBox;)V
intermediary method_39380
Lnet/minecraft/class_6757;method_39380(Lnet/minecraft/class_3341;)V
official a
Lfdm;a(Leob;)V
-
scheduleTicks
- Mappings:
Namespace Name Mixin selector named scheduleTicks
Lnet/minecraft/world/tick/WorldTickScheduler;scheduleTicks(Lnet/minecraft/util/math/BlockBox;Lnet/minecraft/util/math/Vec3i;)V
intermediary method_39383
Lnet/minecraft/class_6757;method_39383(Lnet/minecraft/class_3341;Lnet/minecraft/class_2382;)V
official a
Lfdm;a(Leob;Lkl;)V
-
scheduleTicks
- Mappings:
Namespace Name Mixin selector named scheduleTicks
Lnet/minecraft/world/tick/WorldTickScheduler;scheduleTicks(Lnet/minecraft/world/tick/WorldTickScheduler;Lnet/minecraft/util/math/BlockBox;Lnet/minecraft/util/math/Vec3i;)V
intermediary method_48167
Lnet/minecraft/class_6757;method_48167(Lnet/minecraft/class_6757;Lnet/minecraft/class_3341;Lnet/minecraft/class_2382;)V
official a
Lfdm;a(Lfdm;Leob;Lkl;)V
-
getTickCount
public int getTickCount()- Specified by:
getTickCount
in interfaceTickScheduler<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
Lfdr;a()I
-