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 named net/minecraft/world/tick/SimpleTickScheduler
intermediary net/minecraft/class_4296
official eyl
-
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 named scheduledTicks
Lnet/minecraft/world/tick/SimpleTickScheduler;scheduledTicks:Ljava/util/List;
intermediary field_19275
Lnet/minecraft/class_4296;field_19275:Ljava/util/List;
official a
Leyl;a:Ljava/util/List;
-
scheduledTicksSet
- Mappings:
Namespace Name Mixin selector named scheduledTicksSet
Lnet/minecraft/world/tick/SimpleTickScheduler;scheduledTicksSet:Ljava/util/Set;
intermediary field_35541
Lnet/minecraft/class_4296;field_35541:Ljava/util/Set;
official b
Leyl;b:Ljava/util/Set;
-
-
Constructor Details
-
SimpleTickScheduler
public SimpleTickScheduler()
-
-
Method Details
-
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
Leyp;a(Leyn;)V
-
scheduleTick
- Mappings:
Namespace Name Mixin selector named scheduleTick
Lnet/minecraft/world/tick/SimpleTickScheduler;scheduleTick(Lnet/minecraft/world/tick/Tick;)V
intermediary method_39397
Lnet/minecraft/class_4296;method_39397(Lnet/minecraft/class_6759;)V
official a
Leyl;a(Leym;)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
Leyp;a(Ljd;Ljava/lang/Object;)Z
-
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
Leyp;a()I
-
toNbt
- Specified by:
toNbt
in interfaceSerializableTickScheduler<T>
- Mappings:
Namespace Name Mixin selector named toNbt
Lnet/minecraft/world/tick/SerializableTickScheduler;toNbt(JLjava/util/function/Function;)Lnet/minecraft/nbt/NbtElement;
intermediary method_20463
Lnet/minecraft/class_6761;method_20463(JLjava/util/function/Function;)Lnet/minecraft/class_2520;
official b
Leyo;b(JLjava/util/function/Function;)Lux;
-
getTicks
- Mappings:
Namespace Name Mixin selector named getTicks
Lnet/minecraft/world/tick/SimpleTickScheduler;getTicks()Ljava/util/List;
intermediary method_39399
Lnet/minecraft/class_4296;method_39399()Ljava/util/List;
official b
Leyl;b()Ljava/util/List;
-
tick
public static <T> SimpleTickScheduler<T> tick(NbtList tickList, Function<String, Optional<T>> typeToNameFunction, ChunkPos pos) - Mappings:
Namespace Name Mixin selector 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;
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;
official a
Leyl;a(Lug;Ljava/util/function/Function;Ldcb;)Leyl;
-