Uses of Enum Class
net.minecraft.entity.player.PlayerEntity.SleepResult
Package
Description
-
Uses of PlayerEntity.SleepResult in net.minecraft.entity.player
Modifier and TypeMethodDescriptionstatic PlayerEntity.SleepResult
Returns the enum constant of this class with the specified name.static PlayerEntity.SleepResult[]
PlayerEntity.SleepResult.values()
Returns an array containing the constants of this enum class, in the order they are declared.Modifier and TypeMethodDescriptioncom.mojang.datafixers.util.Either<PlayerEntity.SleepResult,
Unit> PlayerEntity.startSleepInBed
(BlockPos p_213819_1_) com.mojang.datafixers.util.Either<PlayerEntity.SleepResult,
Unit> ServerPlayerEntity.startSleepInBed
(BlockPos p_213819_1_) -
Uses of PlayerEntity.SleepResult in net.minecraftforge.event
Modifier and TypeMethodDescriptionstatic PlayerEntity.SleepResult
ForgeEventFactory.onPlayerSleepInBed
(PlayerEntity player, Optional<BlockPos> pos) -
Uses of PlayerEntity.SleepResult in net.minecraftforge.event.entity.player
Modifier and TypeMethodDescriptionvoid
PlayerSleepInBedEvent.setResult
(PlayerEntity.SleepResult result)