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, waitMethods 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:
idsin interfaceNameSupplier
-
en
- Specified by:
enin interfaceNameSupplier
-
de
- Specified by:
dein interfaceNameSupplier
-
fr
- Specified by:
frin interfaceNameSupplier
-
jp
- Specified by:
jpin interfaceNameSupplier
-