public class ShearsDispenserBehavior extends FallibleItemDispenserBehavior
NOOP
Constructor and Description |
---|
ShearsDispenserBehavior() |
Modifier and Type | Method and Description |
---|---|
protected ItemStack |
dispenseSilently(BlockPointer pointer,
ItemStack stack) |
private static boolean |
tryShearBlock(ServerWorld world,
BlockPos pos) |
private static boolean |
tryShearEntity(ServerWorld world,
BlockPos pos) |
isSuccess, playSound, setSuccess
dispense, spawnItem, spawnParticles
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
method_27042, registerDefaults
protected ItemStack dispenseSilently(BlockPointer pointer, ItemStack stack)
dispenseSilently
in class ItemDispenserBehavior
private static boolean tryShearBlock(ServerWorld world, BlockPos pos)
private static boolean tryShearEntity(ServerWorld world, BlockPos pos)