Update EquipmentSlotProvider javadoc for 1.21.2 (#4166)

* Update EquipmentSlotProvider javadoc

* Update fabric-item-api-v1/src/main/java/net/fabricmc/fabric/api/item/v1/EquipmentSlotProvider.java
This commit is contained in:
apple502j 2024-10-15 21:20:49 +09:00 committed by GitHub
parent 771b444bdf
commit 3a50c93c8a
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -30,8 +30,9 @@ import net.minecraft.item.ItemStack;
*
* <p>Equipment slot providers can be set with {@link FabricItem.Settings#equipmentSlot(EquipmentSlotProvider)}.
*
* <p>Note that items extending {@link net.minecraft.item.ArmorItem} don't need to use this
* as there's {@link net.minecraft.item.ArmorItem#getSlotType()}.
* <p>If the equipment slot is not entity-dependent, you can set {@link
* net.minecraft.component.type.EquippableComponent} on the item
* instead of using this provider.
*/
@FunctionalInterface
public interface EquipmentSlotProvider {