net.minecraft.nbt

public class NbtAccounter

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

字段概要

修饰符与类型字段
public static final int
a
DEFAULT_NBT_QUOTA
field_64681
PACKET_MAX_SIZE
f_436675_
public static final int
b
UNCOMPRESSED_NBT_QUOTA
field_64682
LEVEL_MAX_SIZE
f_437060_
private static final int
c
MAX_STACK_DEPTH
field_46208
DEFAULT_MAX_DEPTH
f_301619_
private final long
d
quota
field_11557
maxBytes
f_128918_
private long
e
usage
field_11555
allocatedBytes
f_128919_
private final int
f
maxDepth
field_46209
maxDepth
f_301621_
private int
g
depth
field_46210
depth
f_301623_

构造函数概要

修饰符构造函数
public (long maxBytes, int maxDepth)

方法概要

修饰符与类型方法
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()
defaultQuota()
method_76768()
forPacket()
m_442928_()
public static NbtAccounter
b()
uncompressedQuota()
method_76769()
forLevel()
m_443131_()
public static NbtAccounter
c()
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
d()
pushDepth()
method_53900()
pushStack()
m_301672_()
public void
e()
popDepth()
method_53901()
popStack()
m_301650_()
public long
f()
getUsage()
method_47987()
getAllocatedBytes()
m_263225_()
public int
g()
getDepth()
method_53902()
getDepth()
m_301664_()