Package net.minecraft.world.tick
Class SimpleTickScheduler<T>
java.lang.Object
net.minecraft.world.tick.SimpleTickScheduler<T>
- All Implemented Interfaces:
BasicTickScheduler<T>
,SerializableTickScheduler<T>
,TickScheduler<T>
public class SimpleTickScheduler<T>
extends Object
implements SerializableTickScheduler<T>, BasicTickScheduler<T>
- Mappings:
Namespace Name official dxb
intermediary net/minecraft/class_4296
named net/minecraft/world/tick/SimpleTickScheduler
-
Field Summary
Modifier and TypeFieldDescription -
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionint
getTicks()
boolean
void
scheduleTick
(OrderedTick<T> orderedTick) private void
scheduleTick
(Tick<T> tick) static <T> SimpleTickScheduler<T>
-
Field Details
-
scheduledTicks
- Mappings:
Namespace Name Mixin selector official a
Ldxb;a:Ljava/util/List;
intermediary field_19275
Lnet/minecraft/class_4296;field_19275:Ljava/util/List;
named scheduledTicks
Lnet/minecraft/world/tick/SimpleTickScheduler;scheduledTicks:Ljava/util/List;
-
scheduledTicksSet
- Mappings:
Namespace Name Mixin selector official b
Ldxb;b:Ljava/util/Set;
intermediary field_35541
Lnet/minecraft/class_4296;field_35541:Ljava/util/Set;
named scheduledTicksSet
Lnet/minecraft/world/tick/SimpleTickScheduler;scheduledTicksSet:Ljava/util/Set;
-
-
Constructor Details
-
SimpleTickScheduler
public SimpleTickScheduler()
-
-
Method Details
-
scheduleTick
- Specified by:
scheduleTick
in interfaceTickScheduler<T>
- Mappings:
Namespace Name Mixin selector official a
Ldxf;a(Ldxd;)V
intermediary method_39363
Lnet/minecraft/class_6762;method_39363(Lnet/minecraft/class_6760;)V
named scheduleTick
Lnet/minecraft/world/tick/TickScheduler;scheduleTick(Lnet/minecraft/world/tick/OrderedTick;)V
-
scheduleTick
- Mappings:
Namespace Name Mixin selector official a
Ldxb;a(Ldxc;)V
intermediary method_39397
Lnet/minecraft/class_4296;method_39397(Lnet/minecraft/class_6759;)V
named scheduleTick
Lnet/minecraft/world/tick/SimpleTickScheduler;scheduleTick(Lnet/minecraft/world/tick/Tick;)V
-
isQueued
- Specified by:
isQueued
in interfaceTickScheduler<T>
- Mappings:
Namespace Name Mixin selector official a
Ldxf;a(Lgt;Ljava/lang/Object;)Z
intermediary method_8674
Lnet/minecraft/class_6762;method_8674(Lnet/minecraft/class_2338;Ljava/lang/Object;)Z
named isQueued
Lnet/minecraft/world/tick/TickScheduler;isQueued(Lnet/minecraft/util/math/BlockPos;Ljava/lang/Object;)Z
-
getTickCount
public int getTickCount()- Specified by:
getTickCount
in interfaceTickScheduler<T>
- Mappings:
Namespace Name Mixin selector official a
Ldxf;a()I
intermediary method_20825
Lnet/minecraft/class_6762;method_20825()I
named getTickCount
Lnet/minecraft/world/tick/TickScheduler;getTickCount()I
-
toNbt
- Specified by:
toNbt
in interfaceSerializableTickScheduler<T>
- Mappings:
Namespace Name Mixin selector official b
Ldxe;b(JLjava/util/function/Function;)Lqc;
intermediary method_20463
Lnet/minecraft/class_6761;method_20463(JLjava/util/function/Function;)Lnet/minecraft/class_2520;
named toNbt
Lnet/minecraft/world/tick/SerializableTickScheduler;toNbt(JLjava/util/function/Function;)Lnet/minecraft/nbt/NbtElement;
-
getTicks
- Mappings:
Namespace Name Mixin selector official b
Ldxb;b()Ljava/util/List;
intermediary method_39399
Lnet/minecraft/class_4296;method_39399()Ljava/util/List;
named getTicks
Lnet/minecraft/world/tick/SimpleTickScheduler;getTicks()Ljava/util/List;
-
tick
public static <T> SimpleTickScheduler<T> tick(NbtList tickList, Function<String, Optional<T>> typeToNameFunction, ChunkPos pos) - Mappings:
Namespace Name Mixin selector official a
Ldxb;a(Lpp;Ljava/util/function/Function;Lcfh;)Ldxb;
intermediary method_39398
Lnet/minecraft/class_4296;method_39398(Lnet/minecraft/class_2499;Ljava/util/function/Function;Lnet/minecraft/class_1923;)Lnet/minecraft/class_4296;
named tick
Lnet/minecraft/world/tick/SimpleTickScheduler;tick(Lnet/minecraft/nbt/NbtList;Ljava/util/function/Function;Lnet/minecraft/util/math/ChunkPos;)Lnet/minecraft/world/tick/SimpleTickScheduler;
-