类的使用
net.minecraft.world.timer.Timer
-
使用Timer的程序包 程序包 说明 net.minecraft.world.level net.minecraft.world.timer -
-
net.minecraft.world.level中Timer的使用
声明为Timer的net.minecraft.world.level中的字段 修饰符和类型 字段 说明 private Timer<MinecraftServer>LevelProperties. scheduledEvents返回Timer的net.minecraft.world.level中的方法 修饰符和类型 方法 说明 Timer<MinecraftServer>LevelProperties. getScheduledEvents()Timer<MinecraftServer>ServerWorldProperties. getScheduledEvents()Timer<MinecraftServer>UnmodifiableLevelProperties. getScheduledEvents()参数类型为Timer的net.minecraft.world.level中的构造器 构造器 说明 LevelProperties(@Nullable com.mojang.datafixers.DataFixer dataFixer, int dataVersion, @Nullable CompoundTag playerData, boolean modded, int spawnX, int spawnY, int spawnZ, float spawnAngle, long time, long timeOfDay, int version, int clearWeatherTime, int rainTime, boolean raining, int thunderTime, boolean thundering, boolean initialized, boolean difficultyLocked, WorldBorder.Properties worldBorder, int wanderingTraderSpawnDelay, int wanderingTraderSpawnChance, @Nullable UUID wanderingTraderId, Set<String> serverBrands, Timer<MinecraftServer> scheduledEvents, @Nullable CompoundTag customBossEvents, CompoundTag dragonFight, LevelInfo levelInfo, GeneratorOptions generatorOptions, com.mojang.serialization.Lifecycle lifecycle) -
net.minecraft.world.timer中Timer的使用
参数类型为Timer的net.minecraft.world.timer中的方法 修饰符和类型 方法 说明 voidFunctionTagTimerCallback. call(MinecraftServer minecraftServer, Timer<MinecraftServer> timer, long long2)voidFunctionTimerCallback. call(MinecraftServer minecraftServer, Timer<MinecraftServer> timer, long long2)voidTimerCallback. call(T server, Timer<T> events, long time)
-