Class ChestToOpenSet

java.lang.Object
com.hammy275.immersivemc.server.ChestToOpenSet

public class ChestToOpenSet extends Object
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    static void
     
    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 Set<net.minecraft.world.entity.player.Player>
    getOpenSet(net.minecraft.world.level.Level level, net.minecraft.core.BlockPos pos, boolean createIfNotPresent)
     
    static void
    openChest(net.minecraft.world.entity.player.Player player, net.minecraft.core.BlockPos pos)
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • 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)
    • getOpenSet

      public static Set<net.minecraft.world.entity.player.Player> getOpenSet(net.minecraft.world.level.Level level, net.minecraft.core.BlockPos pos, boolean createIfNotPresent)