Add config options for disabling specific artefacts

This commit is contained in:
Electroblob77
2020-05-24 23:58:20 +01:00
parent 3e0dbb9755
commit 1af0186886
6 changed files with 86 additions and 18 deletions
@@ -65,7 +65,9 @@ public final class WizardryBaublesIntegration {
}
/**
* Returns a list of artefact stacks equipped of the given types.
* Returns a list of artefact stacks equipped of the given types. <i>This method does not check whether artefacts
* have been disabled in the config! {@link ItemArtefact#getActiveArtefacts(EntityPlayer, ItemArtefact.Type...)}
* should be used instead of this method in nearly all cases.</i>
* @param player The player whose inventory is to be checked.
* @param types Zero or more artefact types to check for. If omitted, searches for all types.
* @return A list of equipped artefact {@code ItemStacks}.