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