2021-03-10 13:17:14 -05:00
|
|
|
CLASS net/minecraft/class_2505 net/minecraft/nbt/NbtTagSizeTracker
|
2023-09-12 10:39:11 -04:00
|
|
|
COMMENT Tracks the size of NBT elements in bytes and in depth. Throws {@link
|
|
|
|
COMMENT NbtSizeValidationException} if the tracked element becomes larger than {@link
|
|
|
|
COMMENT #maxBytes} or if the depth exceeds {@link #maxDepth} during addition.
|
2021-03-10 13:17:14 -05:00
|
|
|
FIELD field_11555 allocatedBytes J
|
|
|
|
FIELD field_11557 maxBytes J
|
2023-09-12 10:39:11 -04:00
|
|
|
FIELD field_46208 DEFAULT_MAX_DEPTH I
|
|
|
|
FIELD field_46209 maxDepth I
|
|
|
|
FIELD field_46210 depth I
|
2023-09-12 09:17:57 -04:00
|
|
|
METHOD <init> (JI)V
|
2021-03-10 13:17:14 -05:00
|
|
|
ARG 1 maxBytes
|
2023-09-12 10:39:11 -04:00
|
|
|
ARG 3 maxDepth
|
2022-12-01 18:39:10 -05:00
|
|
|
METHOD method_47987 getAllocatedBytes ()J
|
|
|
|
METHOD method_48004 add (J)V
|
|
|
|
ARG 1 bytes
|
2023-09-12 10:39:11 -04:00
|
|
|
METHOD method_53898 ofUnlimitedBytes ()Lnet/minecraft/class_2505;
|
|
|
|
METHOD method_53899 of (J)Lnet/minecraft/class_2505;
|
|
|
|
ARG 0 maxBytes
|
|
|
|
METHOD method_53900 pushStack ()V
|
|
|
|
METHOD method_53901 popStack ()V
|
|
|
|
METHOD method_53902 getDepth ()I
|
2023-09-15 10:44:06 -04:00
|
|
|
METHOD method_53908 add (JJ)V
|
|
|
|
ARG 1 multiplier
|
|
|
|
ARG 3 bytes
|