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
official ie
intermediary net/minecraft/class_2967
named net/minecraft/block/dispenser/BoatDispenserBehavior
  • Field Details

    • itemDispenser

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

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

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

    • BoatDispenserBehavior

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

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

    • dispenseSilently

      public ItemStack dispenseSilently(BlockPointer pointer, ItemStack stack)
      Overrides:
      dispenseSilently in class ItemDispenserBehavior
      Mappings:
      Namespace Name Mixin selector
      official a Lig;a(Lgv;Lcfz;)Lcfz;
      intermediary method_10135 Lnet/minecraft/class_2347;method_10135(Lnet/minecraft/class_2342;Lnet/minecraft/class_1799;)Lnet/minecraft/class_1799;
      named dispenseSilently Lnet/minecraft/block/dispenser/ItemDispenserBehavior;dispenseSilently(Lnet/minecraft/util/math/BlockPointer;Lnet/minecraft/item/ItemStack;)Lnet/minecraft/item/ItemStack;
    • playSound

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