Class PlayerCanSleepHandler
java.lang.Object
com.stereowalker.unionlib.insert.InsertHandler<PlayerCanSleepHandler.Insert>
com.stereowalker.unionlib.insert.handler.living.player.PlayerCanSleepHandler
-
Nested Class Summary
Nested ClassesNested classes/interfaces inherited from class com.stereowalker.unionlib.insert.InsertHandler
InsertHandler.InsertWrapper<T extends InsertHandler.Insert> -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidinsert(net.minecraft.world.entity.player.Player player, net.minecraft.core.BlockPos pos, net.minecraft.world.entity.player.Player.BedSleepingProblem currentProblem, net.minecraft.world.entity.player.Player.BedSleepingProblem vanillaProblem, Consumer<net.minecraft.world.entity.player.Player.BedSleepingProblem> problemC) Methods inherited from class com.stereowalker.unionlib.insert.InsertHandler
hasInserts, loopThrough
-
Constructor Details
-
PlayerCanSleepHandler
public PlayerCanSleepHandler()
-
-
Method Details
-
insert
public void insert(net.minecraft.world.entity.player.Player player, net.minecraft.core.BlockPos pos, net.minecraft.world.entity.player.Player.BedSleepingProblem currentProblem, net.minecraft.world.entity.player.Player.BedSleepingProblem vanillaProblem, Consumer<net.minecraft.world.entity.player.Player.BedSleepingProblem> problemC)
-