net.minecraft.nbt

public class NbtAccounter

vg
net.minecraft.nbt.NbtAccounter
net.minecraft.class_2505
net.minecraft.nbt.NbtSizeTracker
net.minecraft.nbt.NBTReadLimiter

Field summary

Modifier and TypeField
private static final int
a
MAX_STACK_DEPTH
field_46208
DEFAULT_MAX_DEPTH
private final long
b
quota
field_11557
maxBytes
private long
c
usage
field_11555
allocatedBytes
private final int
d
maxDepth
field_46209
maxDepth
private int
e
depth
field_46210
depth

Constructor summary

ModifierConstructor
public (long maxBytes, int maxDepth)

Method summary

Modifier and TypeMethod
public static NbtAccounter
a(long arg0)
create(long arg0)
method_53899(long arg0)
of(long maxBytes)
public static NbtAccounter
a()
unlimitedHeap()
method_53898()
ofUnlimitedBytes()
public void
a(long arg0, long arg1)
accountBytes(long arg0, long arg1)
method_53908(long arg0, long arg1)
add(long multiplier, long bytes)
public void
b(long arg0)
accountBytes(long arg0)
method_48004(long arg0)
add(long bytes)
public void
b()
pushDepth()
method_53900()
pushStack()
public void
c()
popDepth()
method_53901()
popStack()
public long
d()
getUsage()
method_47987()
getAllocatedBytes()
public int
e()
getDepth()
method_53902()
getDepth()