public class AbilityTypeRegistry extends java.lang.Object implements IAbilityTypeRegistry
Modifier and Type | Method and Description |
---|---|
IAbilityType |
getAbilityType(java.lang.String unlocalizedName) |
java.util.Collection<IAbilityType> |
getAbilityTypes() |
java.util.List<IAbilityType> |
getAbilityTypes(net.minecraft.item.EnumRarity rarity) |
static AbilityTypeRegistry |
getInstance() |
void |
onLivingUpdate(net.minecraftforge.event.entity.living.LivingEvent.LivingUpdateEvent event) |
<A extends IAbilityType> |
register(A abilityType) |
public static AbilityTypeRegistry getInstance()
public <A extends IAbilityType> A register(A abilityType)
register
in interface IAbilityTypeRegistry
public IAbilityType getAbilityType(java.lang.String unlocalizedName)
getAbilityType
in interface IAbilityTypeRegistry
public java.util.Collection<IAbilityType> getAbilityTypes()
getAbilityTypes
in interface IAbilityTypeRegistry
public java.util.List<IAbilityType> getAbilityTypes(net.minecraft.item.EnumRarity rarity)
getAbilityTypes
in interface IAbilityTypeRegistry
public void onLivingUpdate(net.minecraftforge.event.entity.living.LivingEvent.LivingUpdateEvent event)