Uses of Interface
io.papermc.paper.block.bed.BedEnterProblem
Packages that use BedEnterProblem
-
Uses of BedEnterProblem in io.papermc.paper.block.bed
Fields in io.papermc.paper.block.bed declared as BedEnterProblemModifier and TypeFieldDescriptionstatic final BedEnterProblemBedEnterProblem.EXPLOSIONHappens when the bed is set to explode.static final BedEnterProblemBedEnterProblem.NOT_SAFEHappens when there are monsters in a 16x10x16 box centered on the bed's head and the player is not in creative mode.static final BedEnterProblemBedEnterProblem.OBSTRUCTEDHappens when the bed has blocks one block above it.static final BedEnterProblemBedEnterProblem.OTHERHappens when a player tries to sleep when an invalid state, for example when a player tries to sleep but is already sleeping or is dead.static final BedEnterProblemBedEnterProblem.TOO_FAR_AWAYHappens when the bed is too far away from the player.Methods in io.papermc.paper.block.bed that return BedEnterProblemModifier and TypeMethodDescription@Nullable BedEnterProblemBedEnterAction.problem()A problem is an issue that prevents the player from sleeping and from saving its spawn point.