Class ExpandShearable

java.lang.Object
com.blamejared.crafttweaker.natives.entity.ExpandShearable

@ZenRegister public class ExpandShearable extends Object
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    static boolean
    readyForShearing(net.minecraft.world.entity.Shearable internal)
    Checks if the entity is ready for shearing.
    static void
    shear(net.minecraft.world.entity.Shearable internal, net.minecraft.sounds.SoundSource source)
    Shears the entity.

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • ExpandShearable

      public ExpandShearable()
  • Method Details

    • shear

      public static void shear(net.minecraft.world.entity.Shearable internal, net.minecraft.sounds.SoundSource source)
      Shears the entity.
      Parameters:
      source - The source of the shear.
    • readyForShearing

      public static boolean readyForShearing(net.minecraft.world.entity.Shearable internal)
      Checks if the entity is ready for shearing.
      Returns:
      True if the entity is ready for shearing.