Class NbtAccounter

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

public class NbtAccounter extends Object
  • Field Details

    • MAX_STACK_DEPTH

      private static final int MAX_STACK_DEPTH
      See Also:
    • quota

      private final long quota
    • usage

      private long usage
    • maxDepth

      private final int maxDepth
    • depth

      private int depth
  • Constructor Details

    • NbtAccounter

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

    • create

      public static NbtAccounter create(long p_301706_)
    • unlimitedHeap

      public static NbtAccounter unlimitedHeap()
    • accountBytes

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

      public void accountBytes(long p_263515_)
    • pushDepth

      public void pushDepth()
    • popDepth

      public void popDepth()
    • readUTF

      public String readUTF(String data)
    • getUsage

      public long getUsage()
    • getDepth

      public int getDepth()