From 7a6582f2dd44ba833348035216ba12fe251ba34d Mon Sep 17 00:00:00 2001 From: Juuxel <6596629+Juuxel@users.noreply.github.com> Date: Thu, 1 Jul 2021 15:54:27 +0300 Subject: [PATCH] Document SpawnEggItem.getColor (#2539) --- mappings/net/minecraft/item/SpawnEggItem.mapping | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/mappings/net/minecraft/item/SpawnEggItem.mapping b/mappings/net/minecraft/item/SpawnEggItem.mapping index fcf75b27c2..120de5876d 100644 --- a/mappings/net/minecraft/item/SpawnEggItem.mapping +++ b/mappings/net/minecraft/item/SpawnEggItem.mapping @@ -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