public class MCSleepingLocationCheckEvent
extends java.lang.Object
implements crafttweaker.api.event.SleepingLocationCheckEvent
Constructor and Description |
---|
MCSleepingLocationCheckEvent(net.minecraftforge.event.entity.player.SleepingLocationCheckEvent event) |
Modifier and Type | Method and Description |
---|---|
crafttweaker.api.player.IPlayer |
getPlayer() |
crafttweaker.api.world.IBlockPos |
getPosition() |
java.lang.String |
getResult() |
void |
setAllowed() |
void |
setDefault() |
void |
setDenied() |
public MCSleepingLocationCheckEvent(net.minecraftforge.event.entity.player.SleepingLocationCheckEvent event)
public java.lang.String getResult()
getResult
in interface crafttweaker.api.event.IEventHasResult
public void setDenied()
setDenied
in interface crafttweaker.api.event.IEventHasResult
public void setDefault()
setDefault
in interface crafttweaker.api.event.IEventHasResult
public void setAllowed()
setAllowed
in interface crafttweaker.api.event.IEventHasResult
public crafttweaker.api.world.IBlockPos getPosition()
getPosition
in interface crafttweaker.api.event.IEventPositionable
public crafttweaker.api.player.IPlayer getPlayer()
getPlayer
in interface crafttweaker.api.event.IPlayerEvent