Package | Description |
---|---|
net.minecraft.world |
Modifier and Type | Method and Description |
---|---|
WorldProvider.WorldSleepResult |
WorldProvider.canSleepAt(EntityPlayer player,
BlockPos pos)
Determines if the player can sleep in this world (or if the bed should explode for example).
|
static WorldProvider.WorldSleepResult |
WorldProvider.WorldSleepResult.valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static WorldProvider.WorldSleepResult[] |
WorldProvider.WorldSleepResult.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|