Class Items
java.lang.Object
de.chojo.universalis.provider.items.Items
- All Implemented Interfaces:
NameSupplier
A class which is able to act as a
NameSupplier
for items-
Field Summary
Fields inherited from interface de.chojo.universalis.provider.NameSupplier
EMPTY
-
Method Summary
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface de.chojo.universalis.provider.NameSupplier
fromId, fromName, fromName, languageMap
-
Method Details
-
create
Create a new items instance which will load the items from a GitHub dump.- Returns:
- item instance
- Throws:
IOException
- if the response could not be readInterruptedException
- if the current thread gets interrupted
-
ids
- Specified by:
ids
in interfaceNameSupplier
-
en
- Specified by:
en
in interfaceNameSupplier
-
de
- Specified by:
de
in interfaceNameSupplier
-
fr
- Specified by:
fr
in interfaceNameSupplier
-
jp
- Specified by:
jp
in interfaceNameSupplier
-