Interface DispenserBehavior

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

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

    • LOGGER

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

      static final DispenserBehavior NOOP
      Mappings:
      Namespace Name Mixin selector
      official b Ljj;b:Ljj;
      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 Ljj;dispense(Ljg;Lcmy;)Lcmy;
      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 Ljj;c()V
      intermediary method_18346 Lnet/minecraft/class_2357;method_18346()V
      named registerDefaults Lnet/minecraft/block/dispenser/DispenserBehavior;registerDefaults()V
    • setEntityPosition

      static Vec3d setEntityPosition(BlockPointer pointer, EntityType<?> entityType, Direction direction)
      Mappings:
      Namespace Name Mixin selector
      official a Ljj;a(Ljg;Lblz;Lic;)Lelt;
      intermediary method_27042 Lnet/minecraft/class_2357;method_27042(Lnet/minecraft/class_2342;Lnet/minecraft/class_1299;Lnet/minecraft/class_2350;)Lnet/minecraft/class_243;
      named setEntityPosition Lnet/minecraft/block/dispenser/DispenserBehavior;setEntityPosition(Lnet/minecraft/util/math/BlockPointer;Lnet/minecraft/entity/EntityType;Lnet/minecraft/util/math/Direction;)Lnet/minecraft/util/math/Vec3d;