Skip to content

Commit

Permalink
Update EquipmentSlotProvider javadoc for 1.21.2 (#4166)
Browse files Browse the repository at this point in the history
* Update EquipmentSlotProvider javadoc

* Update fabric-item-api-v1/src/main/java/net/fabricmc/fabric/api/item/v1/EquipmentSlotProvider.java
  • Loading branch information
apple502j authored Oct 15, 2024
1 parent 771b444 commit 3a50c93
Showing 1 changed file with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,9 @@
*
* <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 {
Expand Down

0 comments on commit 3a50c93

Please sign in to comment.