net.minecraft.nbt

public class NbtAccounter

qy
net.minecraft.nbt.NbtAccounter
net.minecraft.class_2505
net.minecraft.nbt.NbtTagSizeTracker
net.minecraft.src.C_4937_
net.minecraft.nbt.NBTReadLimiter

Field summary

Modifier and TypeField
public static final NbtAccounter
a
UNLIMITED
field_11556
EMPTY
f_128917_
private final long
b
quota
field_11557
maxBytes
f_128918_
private long
c
usage
field_11555
allocatedBytes
f_128919_

Constructor summary

ModifierConstructor
public (long maxBytes)

Method summary

Modifier and TypeMethod
public void
a(long arg0)
accountBytes(long arg0)
method_48004(long arg0)
add(long bytes)
m_128926_(long arg0)
public long
a()
getUsage()
method_47987()
getAllocatedBytes()
m_263225_()