Commits
DerFrZocker authored and md_5 committed d14119af7e1
116 116 | } |
117 117 | |
118 118 | /** |
119 119 | * Get the {@link EquipmentSlot} this AttributeModifier is active on, |
120 120 | * or null if this modifier is applicable for any slot. |
121 121 | * |
122 122 | * @return the slot |
123 123 | * @deprecated use {@link #getSlotGroup()} |
124 124 | */ |
125 125 | |
126 - | |
126 + | (since = "1.20.5") |
127 127 | public EquipmentSlot getSlot() { |
128 128 | return slot == EquipmentSlotGroup.ANY ? null : slot.getExample(); |
129 129 | } |
130 130 | |
131 131 | /** |
132 132 | * Get the {@link EquipmentSlot} this AttributeModifier is active on, |
133 133 | * or null if this modifier is applicable for any slot. |
134 134 | * |
135 135 | * @return the slot |
136 136 | */ |