Skip to content

Commit

Permalink
Update EquipmentSlotProvider javadoc
Browse files Browse the repository at this point in the history
  • Loading branch information
apple502j committed Oct 15, 2024
1 parent 118941c commit 69819af
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 stack
* instead of using this provider.
*/
@FunctionalInterface
public interface EquipmentSlotProvider {
Expand Down

0 comments on commit 69819af

Please sign in to comment.