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
Copy
import 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

Link to getHeadEatAngleScale

Name: getHeadEatAngleScale

Return Type: float

ZenScript
Copy
Sheep.getHeadEatAngleScale(partialTick as float) as float
ParameterType
Parameter
partialTick
Type
float

Link to getHeadEatPositionScale

Name: getHeadEatPositionScale

Return Type: float

ZenScript
Copy
Sheep.getHeadEatPositionScale(partialTick as float) as float
ParameterType
Parameter
partialTick
Type
float
NameTypeHas GetterHas Setter
Name
color
Type
DyeColor
Has Getter
true
Has Setter
true
Name
sheared
Type
boolean
Has Getter
true
Has Setter
true