Sheep
Link to sheep
Importing the class
Link to 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.
ZenScript Copyimport crafttweaker.api.entity.type.animal.Sheep;
Extending Animal
Link to extending-animal
Sheep extends Animal. That means all methods available in Animal are also available in Sheep
Implemented Interfaces
Link to implemented-interfaces
Sheep implements the following interfaces. That means all methods defined in these interfaces are also available in Sheep
Methods
Link to methods
Name: getHeadEatAngleScale
Return Type: float
ZenScript CopySheep.getHeadEatAngleScale(partialTick as float) as float
Parameter | Type |
---|---|
Parameter partialTick | Type float |
Name: getHeadEatPositionScale
Return Type: float
ZenScript CopySheep.getHeadEatPositionScale(partialTick as float) as float
Parameter | Type |
---|---|
Parameter partialTick | Type float |
Properties
Link to properties
Name | Type | Has Getter | Has Setter |
---|---|---|---|
Name color | Type invalid | Has Getter true | Has Setter true |
Name sheared | Type boolean | Has Getter true | Has Setter true |