Uses of Class
net.minecraft.entity.player.PlayerEntity.SleepFailureReason
Package | Description |
---|---|
net.minecraft.entity.player | |
net.minecraft.server.network |
-
Uses of PlayerEntity.SleepFailureReason in net.minecraft.entity.player
Methods in net.minecraft.entity.player that return PlayerEntity.SleepFailureReason Modifier and Type Method Description static PlayerEntity.SleepFailureReason
PlayerEntity.SleepFailureReason. valueOf(String name)
Returns the enum constant of this type with the specified name.static PlayerEntity.SleepFailureReason[]
PlayerEntity.SleepFailureReason. 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.SleepFailureReason Modifier and Type Method Description com.mojang.datafixers.util.Either<PlayerEntity.SleepFailureReason,Unit>
PlayerEntity. trySleep(BlockPos pos)
-
Uses of PlayerEntity.SleepFailureReason in net.minecraft.server.network
Methods in net.minecraft.server.network that return types with arguments of type PlayerEntity.SleepFailureReason Modifier and Type Method Description com.mojang.datafixers.util.Either<PlayerEntity.SleepFailureReason,Unit>
ServerPlayerEntity. trySleep(BlockPos pos)