Rename and document the BedBlock.isOverworld method (#2651)

* Rename the BedBlock.isOverworld method to isBedWorking

Fixes #2645

* Document the BedBlock.isBedWorking method
This commit is contained in:
haykam821 2021-08-31 15:39:59 -04:00 committed by GitHub
parent 2920a46c96
commit 19070213b2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 5 additions and 1 deletions

View File

@ -28,7 +28,11 @@ CLASS net/minecraft/class_2244 net/minecraft/block/BedBlock
ARG 0 state
METHOD method_24164 getBedPart (Lnet/minecraft/class_2680;)Lnet/minecraft/class_4732$class_4733;
ARG 0 state
METHOD method_27352 isOverworld (Lnet/minecraft/class_1937;)Z
METHOD method_27352 isBedWorking (Lnet/minecraft/class_1937;)Z
COMMENT {@return whether the world's {@linkplain net.minecraft.world.dimension.DimensionType dimension type}
COMMENT allows beds to be respawned at and slept in without exploding}
COMMENT
COMMENT @see net.minecraft.world.dimension.DimensionType#isBedWorking()
ARG 0 world
METHOD method_30835 findWakeUpPosition (Lnet/minecraft/class_1299;Lnet/minecraft/class_1941;Lnet/minecraft/class_2338;Lnet/minecraft/class_2350;Lnet/minecraft/class_2350;)Ljava/util/Optional;
ARG 0 type