Potion
Importing the class
If you need to reference this type directly, like when casting an Array, or as a parameter, you will need to import it. Simply add the import at the top of the file.
Members
Getter
Return Type:
string
Getter
Return Type:
List<MobEffectInstance>
effects() as List<MobEffectInstance>
Return Type:
List<MobEffectInstance>
getName(prefix as string) as string
Parameters:
prefix: string
Type: string
Return Type:
string
Getter
Return Type:
bool
hasInstantEffects() as bool
Return Type:
bool
Getter
Return Type:
ResourceLocation
registryName() as ResourceLocation
Return Type:
ResourceLocation