Package net.minecraft.nbt
Class NbtAccounter
java.lang.Object
net.minecraft.nbt.NbtAccounter
-
Field Summary
Modifier and TypeFieldDescriptionprivate int
private static final int
private final int
private final long
private long
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
accountBytes
(long p_263515_) void
accountBytes
(long p_301856_, long p_301857_) static NbtAccounter
create
(long p_301706_) int
getDepth()
long
getUsage()
void
popDepth()
void
static 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_301724_)
-
-
Method Details
-
create
-
unlimitedHeap
-
accountBytes
public void accountBytes(long p_301856_, long p_301857_) -
accountBytes
public void accountBytes(long p_263515_) -
pushDepth
public void pushDepth() -
popDepth
public void popDepth() -
readUTF
-
getUsage
public long getUsage() -
getDepth
public int getDepth()
-