MobCategory
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
MobCategory implements the following interfaces. That means all methods defined in these interfaces are also available in MobCategory
Enum Constants
MobCategory is an enum. It has 8 enum constants. They are accessible using the code below.
Methods
Return Type: int
Return Type: int
Return Type: string
Return Type: int
Return Type: boolean
Return Type: boolean
Properties
Name | Type | Has Getter | Has Setter |
---|---|---|---|
Name despawnDistance | Type int | Has Getter true | Has Setter false |
Name friendly | Type boolean | Has Getter true | Has Setter false |
Name maxInstancesPerChunk | Type int | Has Getter true | Has Setter false |
Name noDespawnDistance | Type int | Has Getter true | Has Setter false |
Name persistent | Type boolean | Has Getter true | Has Setter false |