Package net.minecraft.nbt
Class NbtAccounter
java.lang.Object
net.minecraft.nbt.NbtAccounter
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate intprivate static final intprivate final intprivate final longprivate long -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaccountBytes(long p_263515_) voidaccountBytes(long p_302490_, long p_302493_) static NbtAccountercreate(long p_302395_) intgetDepth()longgetUsage()voidpopDepth()voidstatic NbtAccounter
-
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_302350_)
-
-
Method Details
-
create
-
unlimitedHeap
-
accountBytes
public void accountBytes(long p_302490_, long p_302493_) -
accountBytes
public void accountBytes(long p_263515_) -
pushDepth
public void pushDepth() -
popDepth
public void popDepth() -
readUTF
-
getUsage
public long getUsage() -
getDepth
public int getDepth()
-