类 ChunkTickScheduler<T>
- java.lang.Object
-
- net.minecraft.world.ChunkTickScheduler<T>
-
- 所有已实现的接口:
TickScheduler<T>
public class ChunkTickScheduler<T> extends Object implements TickScheduler<T>
- Mappings:
Namespace Name official cmeintermediary net/minecraft/class_2850named net/minecraft/world/ChunkTickScheduler
-
-
字段概要
字段 修饰符和类型 字段 说明 private ChunkPosposprivate ShortList[]scheduledPositionsprotected Predicate<T>shouldExcludeprivate HeightLimitViewworld
-
构造器概要
构造器 构造器 说明 ChunkTickScheduler(Predicate<T> shouldExclude, ChunkPos pos, ListTag nbtList, HeightLimitView world)ChunkTickScheduler(Predicate<T> shouldExclude, ChunkPos pos, HeightLimitView world)
-
方法概要
所有方法 实例方法 具体方法 修饰符和类型 方法 说明 intgetTicks()booleanisScheduled(BlockPos pos, T object)booleanisTicking(BlockPos pos, T object)voidschedule(BlockPos pos, T object, int delay, TickPriority priority)voidtick(TickScheduler<T> scheduler, Function<BlockPos,T> dataMapper)ListTagtoNbt()-
从类继承的方法 java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
从接口继承的方法 net.minecraft.world.TickScheduler
schedule
-
-
-
-
字段详细资料
-
shouldExclude
protected final Predicate<T> shouldExclude
- Mappings:
Namespace Name Mixin selector official aLcme;a:Ljava/util/function/Predicate;intermediary field_12991Lnet/minecraft/class_2850;field_12991:Ljava/util/function/Predicate;named shouldExcludeLnet/minecraft/world/ChunkTickScheduler;shouldExclude:Ljava/util/function/Predicate;
-
pos
private final ChunkPos pos
- Mappings:
Namespace Name Mixin selector official bLcme;b:Lbuw;intermediary field_12993Lnet/minecraft/class_2850;field_12993:Lnet/minecraft/class_1923;named posLnet/minecraft/world/ChunkTickScheduler;pos:Lnet/minecraft/util/math/ChunkPos;
-
scheduledPositions
private final ShortList[] scheduledPositions
- Mappings:
Namespace Name Mixin selector official cLcme;c:[Lit/unimi/dsi/fastutil/shorts/ShortList;intermediary field_12990Lnet/minecraft/class_2850;field_12990:[Lit/unimi/dsi/fastutil/shorts/ShortList;named scheduledPositionsLnet/minecraft/world/ChunkTickScheduler;scheduledPositions:[Lit/unimi/dsi/fastutil/shorts/ShortList;
-
world
private HeightLimitView world
- Mappings:
Namespace Name Mixin selector official dLcme;d:Lbvt;intermediary field_27230Lnet/minecraft/class_2850;field_27230:Lnet/minecraft/class_5539;named worldLnet/minecraft/world/ChunkTickScheduler;world:Lnet/minecraft/world/HeightLimitView;
-
-
构造器详细资料
-
ChunkTickScheduler
public ChunkTickScheduler(Predicate<T> shouldExclude, ChunkPos pos, HeightLimitView world)
- Mappings:
Namespace Name Mixin selector official <init>Lcme;<init>(Ljava/util/function/Predicate;Lbuw;Lbvt;)Vintermediary <init>Lnet/minecraft/class_2850;<init>(Ljava/util/function/Predicate;Lnet/minecraft/class_1923;Lnet/minecraft/class_5539;)Vnamed <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, ListTag nbtList, HeightLimitView world)
- Mappings:
Namespace Name Mixin selector official <init>Lcme;<init>(Ljava/util/function/Predicate;Lbuw;Lnb;Lbvt;)Vintermediary <init>Lnet/minecraft/class_2850;<init>(Ljava/util/function/Predicate;Lnet/minecraft/class_1923;Lnet/minecraft/class_2499;Lnet/minecraft/class_5539;)Vnamed <init>Lnet/minecraft/world/ChunkTickScheduler;<init>(Ljava/util/function/Predicate;Lnet/minecraft/util/math/ChunkPos;Lnet/minecraft/nbt/ListTag;Lnet/minecraft/world/HeightLimitView;)V
-
-
方法详细资料
-
toNbt
public ListTag toNbt()
- Mappings:
Namespace Name Mixin selector official bLcme;b()Lnb;intermediary method_12367Lnet/minecraft/class_2850;method_12367()Lnet/minecraft/class_2499;named toNbtLnet/minecraft/world/ChunkTickScheduler;toNbt()Lnet/minecraft/nbt/ListTag;
-
tick
public void tick(TickScheduler<T> scheduler, Function<BlockPos,T> dataMapper)
- Mappings:
Namespace Name Mixin selector official aLcme;a(Lbwj;Ljava/util/function/Function;)Vintermediary method_12368Lnet/minecraft/class_2850;method_12368(Lnet/minecraft/class_1951;Ljava/util/function/Function;)Vnamed tickLnet/minecraft/world/ChunkTickScheduler;tick(Lnet/minecraft/world/TickScheduler;Ljava/util/function/Function;)V
-
isScheduled
public boolean isScheduled(BlockPos pos, T object)
- 指定者:
isScheduled在接口中TickScheduler<T>- Mappings:
Namespace Name Mixin selector official aLbwj;a(Lgb;Ljava/lang/Object;)Zintermediary method_8674Lnet/minecraft/class_1951;method_8674(Lnet/minecraft/class_2338;Ljava/lang/Object;)Znamed isScheduledLnet/minecraft/world/TickScheduler;isScheduled(Lnet/minecraft/util/math/BlockPos;Ljava/lang/Object;)Z
-
schedule
public void schedule(BlockPos pos, T object, int delay, TickPriority priority)
- 指定者:
schedule在接口中TickScheduler<T>- Mappings:
Namespace Name Mixin selector official aLbwj;a(Lgb;Ljava/lang/Object;ILbwl;)Vintermediary method_8675Lnet/minecraft/class_1951;method_8675(Lnet/minecraft/class_2338;Ljava/lang/Object;ILnet/minecraft/class_1953;)Vnamed scheduleLnet/minecraft/world/TickScheduler;schedule(Lnet/minecraft/util/math/BlockPos;Ljava/lang/Object;ILnet/minecraft/world/TickPriority;)V
-
isTicking
public boolean isTicking(BlockPos pos, T object)
- 指定者:
isTicking在接口中TickScheduler<T>- Mappings:
Namespace Name Mixin selector official bLbwj;b(Lgb;Ljava/lang/Object;)Zintermediary method_8677Lnet/minecraft/class_1951;method_8677(Lnet/minecraft/class_2338;Ljava/lang/Object;)Znamed isTickingLnet/minecraft/world/TickScheduler;isTicking(Lnet/minecraft/util/math/BlockPos;Ljava/lang/Object;)Z
-
getTicks
public int getTicks()
- 指定者:
getTicks在接口中TickScheduler<T>- Mappings:
Namespace Name Mixin selector official aLbwj;a()Iintermediary method_20825Lnet/minecraft/class_1951;method_20825()Inamed getTicksLnet/minecraft/world/TickScheduler;getTicks()I
-
-