Package com.hammy275.immersivemc.server
Class ChestToOpenSet
java.lang.Object
com.hammy275.immersivemc.server.ChestToOpenSet
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic voidclear()static voidclearForPlayer(net.minecraft.world.entity.player.Player player) static voidcloseChest(net.minecraft.world.entity.player.Player player, net.minecraft.core.BlockPos pos) static intgetOpenCount(net.minecraft.core.BlockPos pos, net.minecraft.world.level.Level level) static voidopenChest(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)
-