Package net.minecraft.nbt
Class NbtAccounter
java.lang.Object
net.minecraft.nbt.NbtAccounter
- 
Field SummaryFieldsModifier and TypeFieldDescriptionprivate intprivate static final intprivate final intprivate final longprivate long
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionvoidaccountBytes(long p_263515_) voidaccountBytes(long p_301856_, long p_301857_) static NbtAccountercreate(long p_301706_) intgetDepth()longgetUsage()voidpopDepth()voidstatic NbtAccounter
- 
Field Details- 
MAX_STACK_DEPTHprivate static final int MAX_STACK_DEPTH- See Also:
 
- 
quotaprivate final long quota
- 
usageprivate long usage
- 
maxDepthprivate final int maxDepth
- 
depthprivate int depth
 
- 
- 
Constructor Details- 
NbtAccounterpublic NbtAccounter(long p_128922_, int p_301724_) 
 
- 
- 
Method Details- 
create
- 
unlimitedHeap
- 
accountBytespublic void accountBytes(long p_301856_, long p_301857_) 
- 
accountBytespublic void accountBytes(long p_263515_) 
- 
pushDepthpublic void pushDepth()
- 
popDepthpublic void popDepth()
- 
readUTF
- 
getUsagepublic long getUsage()
- 
getDepthpublic int getDepth()
 
-