Cleanup enum container implementation
This commit is contained in:
parent
6a4c56293b
commit
1aad7ee531
5 changed files with 32 additions and 12 deletions
|
@ -2,6 +2,7 @@ package WayofTime.bloodmagic.block.enums;
|
|||
|
||||
import java.util.Locale;
|
||||
|
||||
import WayofTime.bloodmagic.api.soul.EnumDemonWillType;
|
||||
import net.minecraft.util.IStringSerializable;
|
||||
|
||||
public enum EnumSubWillType implements IStringSerializable
|
||||
|
@ -23,4 +24,8 @@ public enum EnumSubWillType implements IStringSerializable
|
|||
{
|
||||
return this.toString();
|
||||
}
|
||||
|
||||
public EnumDemonWillType getType() {
|
||||
return EnumDemonWillType.valueOf(name());
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue