Interface DispenserBehavior

All Known Implementing Classes:
BlockPlacementDispenserBehavior, BoatDispenserBehavior, FallibleItemDispenserBehavior, ItemDispenserBehavior, ProjectileDispenserBehavior, ShearsDispenserBehavior

public interface DispenserBehavior
Mappings:
Namespace Name
official gy
intermediary net/minecraft/class_2357
named net/minecraft/block/dispenser/DispenserBehavior
  • Field Details

    • NOOP

      static final DispenserBehavior NOOP
      Mappings:
      Namespace Name Mixin selector
      official a Lgy;a:Lgy;
      intermediary field_16902 Lnet/minecraft/class_2357;field_16902:Lnet/minecraft/class_2357;
      named NOOP Lnet/minecraft/block/dispenser/DispenserBehavior;NOOP:Lnet/minecraft/block/dispenser/DispenserBehavior;
  • Method Details

    • dispense

      ItemStack dispense​(BlockPointer pointer, ItemStack stack)
      Mappings:
      Namespace Name Mixin selector
      official dispense Lgy;dispense(Lfy;Lbnv;)Lbnv;
      intermediary dispense Lnet/minecraft/class_2357;dispense(Lnet/minecraft/class_2342;Lnet/minecraft/class_1799;)Lnet/minecraft/class_1799;
      named dispense Lnet/minecraft/block/dispenser/DispenserBehavior;dispense(Lnet/minecraft/util/math/BlockPointer;Lnet/minecraft/item/ItemStack;)Lnet/minecraft/item/ItemStack;
    • registerDefaults

      static void registerDefaults()
      Mappings:
      Namespace Name Mixin selector
      official c Lgy;c()V
      intermediary method_18346 Lnet/minecraft/class_2357;method_18346()V
      named registerDefaults Lnet/minecraft/block/dispenser/DispenserBehavior;registerDefaults()V
    • method_27042

      static void method_27042​(BlockPointer blockPointer, Entity entity, Direction direction)
      Mappings:
      Namespace Name Mixin selector
      official a Lgy;a(Lfy;Laqv;Lgc;)V
      intermediary method_27042 Lnet/minecraft/class_2357;method_27042(Lnet/minecraft/class_2342;Lnet/minecraft/class_1297;Lnet/minecraft/class_2350;)V
      named method_27042 Lnet/minecraft/block/dispenser/DispenserBehavior;method_27042(Lnet/minecraft/util/math/BlockPointer;Lnet/minecraft/entity/Entity;Lnet/minecraft/util/math/Direction;)V