Package com.hammy275.immersivemc.server
Class ChestToOpenSet
java.lang.Object
com.hammy275.immersivemc.server.ChestToOpenSet
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic void
clear()
static void
clearForPlayer
(net.minecraft.world.entity.player.Player player) static void
closeChest
(net.minecraft.world.entity.player.Player player, net.minecraft.core.BlockPos pos) static int
getOpenCount
(net.minecraft.core.BlockPos pos, net.minecraft.world.level.Level level) static void
openChest
(net.minecraft.world.entity.player.Player player, net.minecraft.core.BlockPos pos)
-
Constructor Details
-
ChestToOpenSet
public ChestToOpenSet()
-
-
Method Details
-
openChest
public static void openChest(net.minecraft.world.entity.player.Player player, net.minecraft.core.BlockPos pos) -
closeChest
public static void closeChest(net.minecraft.world.entity.player.Player player, net.minecraft.core.BlockPos pos) -
getOpenCount
public static int getOpenCount(net.minecraft.core.BlockPos pos, net.minecraft.world.level.Level level) -
clear
public static void clear() -
clearForPlayer
public static void clearForPlayer(net.minecraft.world.entity.player.Player player)
-