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, setSuccessdispense, spawnItem, spawnParticlesclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitmethod_27042, registerDefaultsprotected ItemStack dispenseSilently(BlockPointer pointer, ItemStack stack)
dispenseSilently in class ItemDispenserBehaviorprivate static boolean tryShearBlock(ServerWorld world, BlockPos pos)
private static boolean tryShearEntity(ServerWorld world, BlockPos pos)