Map some constants found in the world classes (#2288)

* Map some constants found in the world classes

* Update mappings/net/minecraft/server/world/ServerWorld.mapping

Co-authored-by: liach <7806504+liach@users.noreply.github.com>

* ENTITY_TICK_FREQUENCY -> SERVER_IDLE_COOLDOWN

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: liach <7806504+liach@users.noreply.github.com>
This commit is contained in:
­Sollace 2021-04-08 11:41:09 +02:00 committed by GitHub
parent c700690ec2
commit 67225d43f5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 10 additions and 1 deletions

View File

@ -9,6 +9,8 @@ CLASS net/minecraft/class_638 net/minecraft/client/world/ClientWorld
FIELD field_24606 skyProperties Lnet/minecraft/class_5294;
FIELD field_27733 entityList Lnet/minecraft/class_5574;
FIELD field_27734 entityManager Lnet/minecraft/class_5582;
FIELD field_32641 PARTICLE_Y_OFFSET D
COMMENT A minor offset applied when spawning particles.
FIELD field_3727 netHandler Lnet/minecraft/class_634;
FIELD field_3729 client Lnet/minecraft/class_310;
FIELD field_3733 scoreboard Lnet/minecraft/class_269;

View File

@ -22,6 +22,9 @@ CLASS net/minecraft/class_3218 net/minecraft/server/world/ServerWorld
FIELD field_26934 entityList Lnet/minecraft/class_5574;
FIELD field_26935 entityManager Lnet/minecraft/class_5579;
FIELD field_28859 sleepManager Lnet/minecraft/class_5838;
FIELD field_29768 SERVER_IDLE_COOLDOWN I
COMMENT The number of ticks ({@value}) the world will continue to tick entities after
COMMENT all players have left and the world does not contain any forced chunks.
METHOD <init> (Lnet/minecraft/server/MinecraftServer;Ljava/util/concurrent/Executor;Lnet/minecraft/class_32$class_5143;Lnet/minecraft/class_5268;Lnet/minecraft/class_5321;Lnet/minecraft/class_2874;Lnet/minecraft/class_3949;Lnet/minecraft/class_2794;ZJLjava/util/List;Z)V
ARG 1 server
ARG 2 workerExecutor

View File

@ -10,6 +10,10 @@ CLASS net/minecraft/class_1937 net/minecraft/world/World
FIELD field_25181 END Lnet/minecraft/class_5321;
FIELD field_27081 pendingBlockEntityTickers Ljava/util/List;
FIELD field_27082 blockEntityTickers Ljava/util/List;
FIELD field_30965 HORIZONTAL_LIMIT I
FIELD field_30966 MAX_UPDATE_DEPTH I
FIELD field_30970 MAX_Y I
FIELD field_30971 MIN_Y I
FIELD field_9223 border Lnet/minecraft/class_2784;
FIELD field_9224 LOGGER Lorg/apache/logging/log4j/Logger;
FIELD field_9226 ambientDarkness I
@ -19,7 +23,7 @@ CLASS net/minecraft/class_1937 net/minecraft/world/World
FIELD field_9234 thunderGradient F
FIELD field_9235 rainGradient F
FIELD field_9236 isClient Z
FIELD field_9238 unusedIncrement I
FIELD field_9238 lcgBlockSeedIncrement I
FIELD field_9247 dimension Lnet/minecraft/class_2874;
FIELD field_9249 iteratingTickingBlockEntities Z
FIELD field_9251 thunderGradientPrev F