| Package | Description |
|---|---|
| net.minecraft.entity.player | |
| net.minecraftforge.common.util | |
| net.minecraftforge.event | |
| net.minecraftforge.event.entity.player |
| Modifier and Type | Method and Description |
|---|---|
EntityPlayer.SleepResult |
EntityPlayer.trySleep(BlockPos bedLocation) |
EntityPlayer.SleepResult |
EntityPlayerMP.trySleep(BlockPos bedLocation) |
static EntityPlayer.SleepResult |
EntityPlayer.SleepResult.valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static EntityPlayer.SleepResult[] |
EntityPlayer.SleepResult.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
| Modifier and Type | Method and Description |
|---|---|
static EntityPlayer.SleepResult |
EnumHelper.addStatus(java.lang.String name) |
| Modifier and Type | Method and Description |
|---|---|
static EntityPlayer.SleepResult |
ForgeEventFactory.onPlayerSleepInBed(EntityPlayer player,
BlockPos pos) |
| Modifier and Type | Field and Description |
|---|---|
private EntityPlayer.SleepResult |
PlayerSleepInBedEvent.result |
| Modifier and Type | Method and Description |
|---|---|
EntityPlayer.SleepResult |
PlayerSleepInBedEvent.getResultStatus() |
| Modifier and Type | Method and Description |
|---|---|
void |
PlayerSleepInBedEvent.setResult(EntityPlayer.SleepResult result) |