Uses of Enum Class
net.minecraft.entity.player.PlayerEntity.SleepResult
Packages that use PlayerEntity.SleepResult
Package
Description
-
Uses of PlayerEntity.SleepResult in net.minecraft.entity.player
Methods in net.minecraft.entity.player that return PlayerEntity.SleepResultModifier 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.Methods in net.minecraft.entity.player that return types with arguments of type PlayerEntity.SleepResultModifier 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
Methods in net.minecraftforge.event that return PlayerEntity.SleepResultModifier and TypeMethodDescriptionstatic PlayerEntity.SleepResult
ForgeEventFactory.onPlayerSleepInBed
(PlayerEntity player, Optional<BlockPos> pos) -
Uses of PlayerEntity.SleepResult in net.minecraftforge.event.entity.player
Fields in net.minecraftforge.event.entity.player declared as PlayerEntity.SleepResultMethods in net.minecraftforge.event.entity.player that return PlayerEntity.SleepResultMethods in net.minecraftforge.event.entity.player with parameters of type PlayerEntity.SleepResultModifier and TypeMethodDescriptionvoid
PlayerSleepInBedEvent.setResult
(PlayerEntity.SleepResult result)