Uses of Class
net.minecraft.entity.player.PlayerEntity.SleepResult
-
Packages that use PlayerEntity.SleepResult Package Description net.minecraft.entity.player net.minecraftforge.event net.minecraftforge.event.entity.player -
-
Uses of PlayerEntity.SleepResult in net.minecraft.entity.player
Methods in net.minecraft.entity.player that return PlayerEntity.SleepResult Modifier and Type Method Description static PlayerEntity.SleepResult
PlayerEntity.SleepResult. valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static PlayerEntity.SleepResult[]
PlayerEntity.SleepResult. values()
Returns an array containing the constants of this enum type, in the order they are declared.Methods in net.minecraft.entity.player that return types with arguments of type PlayerEntity.SleepResult Modifier and Type Method Description com.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.SleepResult Modifier and Type Method Description static PlayerEntity.SleepResult
ForgeEventFactory. onPlayerSleepInBed(PlayerEntity player, java.util.Optional<BlockPos> pos)
-
Uses of PlayerEntity.SleepResult in net.minecraftforge.event.entity.player
Fields in net.minecraftforge.event.entity.player declared as PlayerEntity.SleepResult Modifier and Type Field Description private PlayerEntity.SleepResult
PlayerSleepInBedEvent. result
Methods in net.minecraftforge.event.entity.player that return PlayerEntity.SleepResult Modifier and Type Method Description PlayerEntity.SleepResult
PlayerSleepInBedEvent. getResultStatus()
Methods in net.minecraftforge.event.entity.player with parameters of type PlayerEntity.SleepResult Modifier and Type Method Description void
PlayerSleepInBedEvent. setResult(PlayerEntity.SleepResult result)
-