Class NbtAccounter

java.lang.Object
net.minecraft.nbt.NbtAccounter

public class NbtAccounter extends Object
  • Field Details Link icon

    • MAX_STACK_DEPTH Link icon

      private static final int MAX_STACK_DEPTH
      See Also:
    • quota Link icon

      private final long quota
    • usage Link icon

      private long usage
    • maxDepth Link icon

      private final int maxDepth
    • depth Link icon

      private int depth
  • Constructor Details Link icon

    • NbtAccounter Link icon

      public NbtAccounter(long p_128922_, int p_301724_)
  • Method Details Link icon

    • create Link icon

      public static NbtAccounter create(long p_301706_)
    • unlimitedHeap Link icon

      public static NbtAccounter unlimitedHeap()
    • accountBytes Link icon

      public void accountBytes(long p_301856_, long p_301857_)
    • accountBytes Link icon

      public void accountBytes(long p_263515_)
    • pushDepth Link icon

      public void pushDepth()
    • popDepth Link icon

      public void popDepth()
    • getUsage Link icon

      public long getUsage()
    • getDepth Link icon

      public int getDepth()