Class EnumObjects<E extends Enum<E>,T>

java.lang.Object
org.moddingx.libx.registration.util.EnumObjects<E,T>
Type Parameters:
E - The type of the enum to use.
T - The type of the thing to register.
All Implemented Interfaces:
Registerable

public class EnumObjects<E extends Enum<E>,T> extends Object implements Registerable
A Registerable that registers multiple objects, one for each value of an enum. This is done via Registerable.registerAdditional(RegistrationContext, EntryCollector) so the enum names will be applied automatically.