Class ExpandShearable
java.lang.Object
com.blamejared.crafttweaker.natives.entity.ExpandShearable
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic booleanreadyForShearing(net.minecraft.world.entity.Shearable internal) Checks if the entity is ready for shearing.static voidshear(net.minecraft.world.entity.Shearable internal, net.minecraft.sounds.SoundSource source) Shears the entity.
-
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.
-