public abstract class MixinPropertyEnum<E extends Enum<E>> extends MixinPropertyHelper<E> implements org.spongepowered.api.block.trait.EnumTrait<E>
propertyName
Constructor and Description |
---|
MixinPropertyEnum() |
Modifier and Type | Method and Description |
---|---|
abstract Collection |
getAllowedValues() |
Collection<E> |
getPossibleValues() |
void |
onConstructed(String name,
Class valueClass,
Collection allowedValues,
org.spongepowered.asm.mixin.injection.callback.CallbackInfo ci) |
getName, getPredicate, getTraitValueClass
public abstract Collection getAllowedValues()
public void onConstructed(String name, Class valueClass, Collection allowedValues, org.spongepowered.asm.mixin.injection.callback.CallbackInfo ci)
public Collection<E> getPossibleValues()