MCPotionEffectInstance
Importing the class
It might be required for you to import the package if you encounter any issues (like casting an Array), so better be safe than sorry and add the import at the very top of the file.
Implemented Interfaces
MCPotionEffectInstance implements the following interfaces. That means all methods defined in these interfaces are also available in MCPotionEffectInstance
- Comparable<MCPotionEffectInstance>
Methods
Return Type: void
Parameter | Type | Description |
---|---|---|
Parameter stack | Type IItemStack | Description No Description Provided |
Return Type: boolean
Parameter | Type | Description |
---|---|---|
Parameter effect | Type MCPotionEffectInstance | Description No Description Provided |
Return Type: stdlib.List<IItemStack>
Return Type: boolean
Parameter | Type | Description |
---|---|---|
Parameter stack | Type IItemStack | Description No Description Provided |
Return Type: void
Parameter | Type | Description |
---|---|---|
Parameter items | Type IItemStack[] | Description No Description Provided |
Properties
Name | Type | Has Getter | Has Setter | Description |
---|---|---|---|---|
Name ambient | Type boolean | Has Getter true | Has Setter false | Description No Description Provided |
Name amplifier | Type int | Has Getter true | Has Setter false | Description No Description Provided |
Name duration | Type int | Has Getter true | Has Setter false | Description No Description Provided |
Name effectName | Type string | Has Getter true | Has Setter false | Description No Description Provided |
Name potion | Type MCPotionEffect | Has Getter true | Has Setter false | Description No Description Provided |
Name showIcon | Type boolean | Has Getter true | Has Setter false | Description No Description Provided |
Name showParticles | Type boolean | Has Getter true | Has Setter false | Description No Description Provided |