Package net.minecraft.world
Class ChunkTickScheduler<T>
java.lang.Object
net.minecraft.world.ChunkTickScheduler<T>
- All Implemented Interfaces:
TickScheduler<T>
- Mappings:
Namespace Name official cnf
intermediary net/minecraft/class_2850
named net/minecraft/world/ChunkTickScheduler
-
Field Summary
-
Constructor Summary
ConstructorDescriptionChunkTickScheduler(Predicate<T> shouldExclude, ChunkPos pos, NbtList nbtList, HeightLimitView world)
ChunkTickScheduler(Predicate<T> shouldExclude, ChunkPos pos, HeightLimitView world)
-
Method Summary
Modifier and TypeMethodDescriptionint
getTicks()
boolean
isScheduled(BlockPos pos, T object)
boolean
void
schedule(BlockPos pos, T object, int delay, TickPriority priority)
void
toNbt()
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
-
shouldExclude
- Mappings:
Namespace Name Mixin selector official a
Lcnf;a:Ljava/util/function/Predicate;
intermediary field_12991
Lnet/minecraft/class_2850;field_12991:Ljava/util/function/Predicate;
named shouldExclude
Lnet/minecraft/world/ChunkTickScheduler;shouldExclude:Ljava/util/function/Predicate;
-
pos
- Mappings:
Namespace Name Mixin selector official b
Lcnf;b:Lbvu;
intermediary field_12993
Lnet/minecraft/class_2850;field_12993:Lnet/minecraft/class_1923;
named pos
Lnet/minecraft/world/ChunkTickScheduler;pos:Lnet/minecraft/util/math/ChunkPos;
-
scheduledPositions
- Mappings:
Namespace Name Mixin selector official c
Lcnf;c:[Lit/unimi/dsi/fastutil/shorts/ShortList;
intermediary field_12990
Lnet/minecraft/class_2850;field_12990:[Lit/unimi/dsi/fastutil/shorts/ShortList;
named scheduledPositions
Lnet/minecraft/world/ChunkTickScheduler;scheduledPositions:[Lit/unimi/dsi/fastutil/shorts/ShortList;
-
world
- Mappings:
Namespace Name Mixin selector official d
Lcnf;d:Lbwr;
intermediary field_27230
Lnet/minecraft/class_2850;field_27230:Lnet/minecraft/class_5539;
named world
Lnet/minecraft/world/ChunkTickScheduler;world:Lnet/minecraft/world/HeightLimitView;
-
-
Constructor Details
-
ChunkTickScheduler
- Mappings:
Namespace Name Mixin selector official <init>
Lcnf;<init>(Ljava/util/function/Predicate;Lbvu;Lbwr;)V
intermediary <init>
Lnet/minecraft/class_2850;<init>(Ljava/util/function/Predicate;Lnet/minecraft/class_1923;Lnet/minecraft/class_5539;)V
named <init>
Lnet/minecraft/world/ChunkTickScheduler;<init>(Ljava/util/function/Predicate;Lnet/minecraft/util/math/ChunkPos;Lnet/minecraft/world/HeightLimitView;)V
-
ChunkTickScheduler
public ChunkTickScheduler(Predicate<T> shouldExclude, ChunkPos pos, NbtList nbtList, HeightLimitView world)- Mappings:
Namespace Name Mixin selector official <init>
Lcnf;<init>(Ljava/util/function/Predicate;Lbvu;Lng;Lbwr;)V
intermediary <init>
Lnet/minecraft/class_2850;<init>(Ljava/util/function/Predicate;Lnet/minecraft/class_1923;Lnet/minecraft/class_2499;Lnet/minecraft/class_5539;)V
named <init>
Lnet/minecraft/world/ChunkTickScheduler;<init>(Ljava/util/function/Predicate;Lnet/minecraft/util/math/ChunkPos;Lnet/minecraft/nbt/NbtList;Lnet/minecraft/world/HeightLimitView;)V
-
-
Method Details
-
toNbt
- Mappings:
Namespace Name Mixin selector official b
Lcnf;b()Lng;
intermediary method_12367
Lnet/minecraft/class_2850;method_12367()Lnet/minecraft/class_2499;
named toNbt
Lnet/minecraft/world/ChunkTickScheduler;toNbt()Lnet/minecraft/nbt/NbtList;
-
tick
- Mappings:
Namespace Name Mixin selector official a
Lcnf;a(Lbxh;Ljava/util/function/Function;)V
intermediary method_12368
Lnet/minecraft/class_2850;method_12368(Lnet/minecraft/class_1951;Ljava/util/function/Function;)V
named tick
Lnet/minecraft/world/ChunkTickScheduler;tick(Lnet/minecraft/world/TickScheduler;Ljava/util/function/Function;)V
-
isScheduled
- Specified by:
isScheduled
in interfaceTickScheduler<T>
- Mappings:
Namespace Name Mixin selector official a
Lbxh;a(Lgg;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
Lbxh;a(Lgg;Ljava/lang/Object;ILbxj;)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
Lbxh;b(Lgg;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
-
getTicks
public int getTicks()- Specified by:
getTicks
in interfaceTickScheduler<T>
- Mappings:
Namespace Name Mixin selector official a
Lbxh;a()I
intermediary method_20825
Lnet/minecraft/class_1951;method_20825()I
named getTicks
Lnet/minecraft/world/TickScheduler;getTicks()I
-