Class ExpandPlayerSleepInBedEvent

java.lang.Object
com.blamejared.crafttweaker.natives.event.entity.player.ExpandPlayerSleepInBedEvent

@ZenRegister public class ExpandPlayerSleepInBedEvent extends Object
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final IEventBus<net.minecraftforge.event.entity.player.PlayerSleepInBedEvent>
     
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    static net.minecraft.core.BlockPos
    getPos(net.minecraftforge.event.entity.player.PlayerSleepInBedEvent internal)
     
    static net.minecraft.world.entity.player.Player.BedSleepingProblem
    getResult(net.minecraftforge.event.entity.player.PlayerSleepInBedEvent internal)
     
    static void
    setResult(net.minecraftforge.event.entity.player.PlayerSleepInBedEvent internal, net.minecraft.world.entity.player.Player.BedSleepingProblem result)
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

    • BUS

      public static final IEventBus<net.minecraftforge.event.entity.player.PlayerSleepInBedEvent> BUS
  • Constructor Details

    • ExpandPlayerSleepInBedEvent

      public ExpandPlayerSleepInBedEvent()
  • Method Details

    • getResult

      public static net.minecraft.world.entity.player.Player.BedSleepingProblem getResult(net.minecraftforge.event.entity.player.PlayerSleepInBedEvent internal)
    • setResult

      public static void setResult(net.minecraftforge.event.entity.player.PlayerSleepInBedEvent internal, net.minecraft.world.entity.player.Player.BedSleepingProblem result)
    • getPos

      public static net.minecraft.core.BlockPos getPos(net.minecraftforge.event.entity.player.PlayerSleepInBedEvent internal)