Improved API documentation

This commit is contained in:
jss2a98aj committed 2023-01-28 23:54:29 -05:00
1 parent 6f01f555d9
commit dc6f8d30e8
2 files changed
+3 -3

No files matched your search

@@ -88,9 +88,9 @@ public class BaubleExpandedSlots {
* loader state is not pre-initialization.
*
* @param type The type of the slot to evaluate and possibly unassign.
* @param minumumOfType The minimum slots of type to be assigned.
* @param maximumOfType The maximum slots of type to be left assigned.
*
* @return If the total assigned slots of the specified type equals or is less then the maximum.
* @return If the total assigned slots of the specified type equals or is less than the maximum.
*/
public static boolean tryUnassignSlotsDownToMaximum(String type, int maximumOfType) {
if(maximumOfType < 0) maximumOfType = 0;
@@ -5,7 +5,7 @@ import net.minecraft.item.ItemStack;
/**
* This interface should be extended by items that can be worn in bauble slots.
* Supports multiple original and expanded slot types.
* Supports all original and several expanded slot types.
*
* @author jss2a98aj
*/