java.lang.Object
com.blamejared.crafttweaker.natives.entity.type.animal.ExpandSheep

@ZenRegister public class ExpandSheep extends Object
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    static net.minecraft.world.item.DyeColor
    getColor(net.minecraft.world.entity.animal.Sheep internal)
    Gets the DyeColor of the sheep.
    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.
    static float
    getHeadEatPositionScale(net.minecraft.world.entity.animal.Sheep internal, float partialTick)
    Gets the scale of the sheep's head when it is eating.
    static boolean
    isSheared(net.minecraft.world.entity.animal.Sheep internal)
    Checks if the sheep is sheared.
    static void
    setColor(net.minecraft.world.entity.animal.Sheep internal, net.minecraft.world.item.DyeColor color)
    Sets the DyeColor of the sheep.
    static void
    setSheared(net.minecraft.world.entity.animal.Sheep internal, boolean sheared)
    Sets if the sheep is sheared.

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • 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 the DyeColor of the sheep.
      Returns:
      The DyeColor of the sheep.
    • setColor

      public static void setColor(net.minecraft.world.entity.animal.Sheep internal, net.minecraft.world.item.DyeColor color)
      Sets the DyeColor of the sheep.
      Parameters:
      color - The DyeColor to 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.