Class ExpandSheep
java.lang.Object
com.blamejared.crafttweaker.natives.entity.type.animal.ExpandSheep
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic net.minecraft.world.item.DyeColorgetColor(net.minecraft.world.entity.animal.Sheep internal) Gets theDyeColorof the sheep.static floatgetHeadEatAngleScale(net.minecraft.world.entity.animal.Sheep internal, float partialTick) Gets the angle scale of the sheep's head when it is eating.static floatgetHeadEatPositionScale(net.minecraft.world.entity.animal.Sheep internal, float partialTick) Gets the scale of the sheep's head when it is eating.static booleanisSheared(net.minecraft.world.entity.animal.Sheep internal) Checks if the sheep is sheared.static voidsetColor(net.minecraft.world.entity.animal.Sheep internal, net.minecraft.world.item.DyeColor color) Sets theDyeColorof the sheep.static voidsetSheared(net.minecraft.world.entity.animal.Sheep internal, boolean sheared) Sets if the sheep is sheared.
-
Constructor Details
-
ExpandSheep
public ExpandSheep()
-
-
Method Details
-
getHeadEatPositionScale
public static float getHeadEatPositionScale(net.minecraft.world.entity.animal.Sheep internal, float partialTick) Gets the scale of the sheep's head when it is eating.- Parameters:
partialTick- The partial tick value.- Returns:
- The scale of the sheep's head when it is eating.
-
getHeadEatAngleScale
public static float getHeadEatAngleScale(net.minecraft.world.entity.animal.Sheep internal, float partialTick) Gets the angle scale of the sheep's head when it is eating.- Parameters:
partialTick- The partial tick value.- Returns:
- The angle scale of the sheep's head when it is eating.
-
getColor
public static net.minecraft.world.item.DyeColor getColor(net.minecraft.world.entity.animal.Sheep internal) Gets theDyeColorof the sheep.- Returns:
- The
DyeColorof the sheep.
-
setColor
public static void setColor(net.minecraft.world.entity.animal.Sheep internal, net.minecraft.world.item.DyeColor color) Sets theDyeColorof the sheep.- Parameters:
color- TheDyeColorto set the sheep to.
-
isSheared
public static boolean isSheared(net.minecraft.world.entity.animal.Sheep internal) Checks if the sheep is sheared.- Returns:
- True if the sheep is sheared, false otherwise.
-
setSheared
public static void setSheared(net.minecraft.world.entity.animal.Sheep internal, boolean sheared) Sets if the sheep is sheared.- Parameters:
sheared- True if the sheep is sheared, false otherwise.
-