Interface DispenserBehavior

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

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

    • LOGGER

      static final Logger LOGGER
      Mappings:
      Namespace Name Mixin selector
      named LOGGER Lnet/minecraft/block/dispenser/DispenserBehavior;LOGGER:Lorg/slf4j/Logger;
      intermediary field_34020 Lnet/minecraft/class_2357;field_34020:Lorg/slf4j/Logger;
      official a Llb;a:Lorg/slf4j/Logger;
    • NOOP

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

    • dispense

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

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