Class BoatDispenserBehavior

java.lang.Object
net.minecraft.block.dispenser.ItemDispenserBehavior
net.minecraft.block.dispenser.BoatDispenserBehavior
All Implemented Interfaces:
DispenserBehavior

public class BoatDispenserBehavior extends ItemDispenserBehavior
Mappings:
Namespace Name
named net/minecraft/block/dispenser/BoatDispenserBehavior
intermediary net/minecraft/class_2967
official kr
  • Field Details

    • itemDispenser

      private final ItemDispenserBehavior itemDispenser
      Mappings:
      Namespace Name Mixin selector
      named itemDispenser Lnet/minecraft/block/dispenser/BoatDispenserBehavior;itemDispenser:Lnet/minecraft/block/dispenser/ItemDispenserBehavior;
      intermediary field_13360 Lnet/minecraft/class_2967;field_13360:Lnet/minecraft/class_2347;
      official c Lkr;c:Lks;
    • boatType

      private final BoatEntity.Type boatType
      Mappings:
      Namespace Name Mixin selector
      named boatType Lnet/minecraft/block/dispenser/BoatDispenserBehavior;boatType:Lnet/minecraft/entity/vehicle/BoatEntity$Type;
      intermediary field_13361 Lnet/minecraft/class_2967;field_13361:Lnet/minecraft/class_1690$class_1692;
      official d Lkr;d:Lcow$b;
    • chest

      private final boolean chest
      Mappings:
      Namespace Name Mixin selector
      named chest Lnet/minecraft/block/dispenser/BoatDispenserBehavior;chest:Z
      intermediary field_38465 Lnet/minecraft/class_2967;field_38465:Z
      official e Lkr;e:Z
  • Constructor Details

    • BoatDispenserBehavior

      public BoatDispenserBehavior(BoatEntity.Type type)
      Mappings:
      Namespace Name Mixin selector
      named <init> Lnet/minecraft/block/dispenser/BoatDispenserBehavior;<init>(Lnet/minecraft/entity/vehicle/BoatEntity$Type;)V
      intermediary <init> Lnet/minecraft/class_2967;<init>(Lnet/minecraft/class_1690$class_1692;)V
      official <init> Lkr;<init>(Lcow$b;)V
    • BoatDispenserBehavior

      public BoatDispenserBehavior(BoatEntity.Type boatType, boolean chest)
      Mappings:
      Namespace Name Mixin selector
      named <init> Lnet/minecraft/block/dispenser/BoatDispenserBehavior;<init>(Lnet/minecraft/entity/vehicle/BoatEntity$Type;Z)V
      intermediary <init> Lnet/minecraft/class_2967;<init>(Lnet/minecraft/class_1690$class_1692;Z)V
      official <init> Lkr;<init>(Lcow$b;Z)V
  • Method Details

    • dispenseSilently

      public 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 Lks;a(Lkq;Lcuq;)Lcuq;
    • playSound

      protected void playSound(BlockPointer pointer)
      Overrides:
      playSound in class ItemDispenserBehavior
      Mappings:
      Namespace Name Mixin selector
      named playSound Lnet/minecraft/block/dispenser/ItemDispenserBehavior;playSound(Lnet/minecraft/util/math/BlockPointer;)V
      intermediary method_10136 Lnet/minecraft/class_2347;method_10136(Lnet/minecraft/class_2342;)V
      official a Lks;a(Lkq;)V