WitherSkull
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.
Extending AbstractHurtingProjectile
WitherSkull extends AbstractHurtingProjectile. That means all methods available in AbstractHurtingProjectile are also available in WitherSkull
Constructors
Parameter | Type | Description |
---|---|---|
Parameter level | Type Level | Description The level the entity is in. |
Parameter owner | Type LivingEntity | Description The owner of the skull, used for position. |
Parameter xPower | Type double | Description The xPower of the entity. |
Parameter yPower | Type double | Description The yPower of the entity. |
Parameter zPower | Type double | Description The zPower of the entity. |
Methods
Gets whether this skull is dangerous or not.
Returns: true if dangerous, false otherwise.
Return Type: boolean
Sets whether this skull is dangerous or not.
Parameter | Type |
---|---|
Parameter dangerous | Type boolean |
Properties
Name | Type | Has Getter | Has Setter | Description |
---|---|---|---|---|
Name isDangerous | Type boolean | Has Getter true | Has Setter true | Description Gets whether this skull is dangerous or not. |