net.minecraft.nbt

public class NbtAccounter

vb
net.minecraft.nbt.NbtAccounter
net.minecraft.class_2505
net.minecraft.nbt.NbtSizeTracker
net.minecraft.src.C_4937_
net.minecraft.nbt.NBTReadLimiter

Field summary

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

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)
m_301677_(long p_301706_)
public static NbtAccounter
a()
unlimitedHeap()
method_53898()
ofUnlimitedBytes()
m_301669_()
public void
a(long arg0, long arg1)
accountBytes(long arg0, long arg1)
method_53908(long arg0, long arg1)
add(long multiplier, long bytes)
m_301853_(long p_301857_, long arg1)
public void
b(long arg0)
accountBytes(long arg0)
method_48004(long arg0)
add(long bytes)
m_263468_(long arg0)
public void
b()
pushDepth()
method_53900()
pushStack()
m_301672_()
public void
c()
popDepth()
method_53901()
popStack()
m_301650_()
public long
d()
getUsage()
method_47987()
getAllocatedBytes()
m_263225_()
public int
e()
getDepth()
method_53902()
getDepth()
m_301664_()