Class ShearsDispenserBehavior

All Implemented Interfaces:
DispenserBehavior

public class ShearsDispenserBehavior extends FallibleItemDispenserBehavior
Mappings:
Namespace Name
named net/minecraft/block/dispenser/ShearsDispenserBehavior
intermediary net/minecraft/class_5168
official lg
  • Constructor Details

    • ShearsDispenserBehavior

      public ShearsDispenserBehavior()
  • Method Details

    • dispenseSilently

      protected ItemStack dispenseSilently(BlockPointer pointer, ItemStack stack)
      Overrides:
      dispenseSilently in class ItemDispenserBehavior
      Mappings:
      Namespace Name Mixin selector
      named dispenseSilently Lnet/minecraft/block/dispenser/ItemDispenserBehavior;dispenseSilently(Lnet/minecraft/util/math/BlockPointer;Lnet/minecraft/item/ItemStack;)Lnet/minecraft/item/ItemStack;
      intermediary method_10135 Lnet/minecraft/class_2347;method_10135(Lnet/minecraft/class_2342;Lnet/minecraft/class_1799;)Lnet/minecraft/class_1799;
      official a Lla;a(Lky;Lcxo;)Lcxo;
    • tryShearBlock

      private static boolean tryShearBlock(ServerWorld world, BlockPos pos)
      Mappings:
      Namespace Name Mixin selector
      named tryShearBlock Lnet/minecraft/block/dispenser/ShearsDispenserBehavior;tryShearBlock(Lnet/minecraft/server/world/ServerWorld;Lnet/minecraft/util/math/BlockPos;)Z
      intermediary method_27162 Lnet/minecraft/class_5168;method_27162(Lnet/minecraft/class_3218;Lnet/minecraft/class_2338;)Z
      official a Llg;a(Lash;Ljh;)Z
    • tryShearEntity

      private static boolean tryShearEntity(ServerWorld world, BlockPos pos, ItemStack shears)
      Mappings:
      Namespace Name Mixin selector
      named tryShearEntity Lnet/minecraft/block/dispenser/ShearsDispenserBehavior;tryShearEntity(Lnet/minecraft/server/world/ServerWorld;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/item/ItemStack;)Z
      intermediary method_27163 Lnet/minecraft/class_5168;method_27163(Lnet/minecraft/class_3218;Lnet/minecraft/class_2338;Lnet/minecraft/class_1799;)Z
      official a Llg;a(Lash;Ljh;Lcxo;)Z