Document SpawnEggItem.getColor (#2539)

This commit is contained in:
Juuxel 2021-07-01 15:54:27 +03:00 committed by GitHub
parent 6aaad15ea9
commit 7a6582f2dd
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 5 additions and 1 deletions

View File

@ -18,7 +18,11 @@ CLASS net/minecraft/class_1826 net/minecraft/item/SpawnEggItem
METHOD method_8015 getEntityType (Lnet/minecraft/class_2487;)Lnet/minecraft/class_1299;
ARG 1 nbt
METHOD method_8016 getColor (I)I
ARG 1 num
COMMENT {@return the color of the specified tint index}
COMMENT
COMMENT @implSpec If the tint index is 0, returns {@link #primaryColor}. Otherwise, returns {@link #secondaryColor}.
ARG 1 tintIndex
COMMENT the tint index
METHOD method_8017 getAll ()Ljava/lang/Iterable;
METHOD method_8018 isOfSameEntityType (Lnet/minecraft/class_2487;Lnet/minecraft/class_1299;)Z
ARG 1 nbt