mirror of https://github.com/FabricMC/yarn.git
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:
parent
2920a46c96
commit
19070213b2
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue