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

    • itemDispenser

      private final ItemDispenserBehavior itemDispenser
      Mappings:
      Namespace Name Mixin selector
      official b Lgw;b:Lgx;
      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 c Lgw;c:Lbjc$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;
  • Constructor Details

    • BoatDispenserBehavior

      public BoatDispenserBehavior​(BoatEntity.Type type)
      Mappings:
      Namespace Name Mixin selector
      official <init> Lgw;<init>(Lbjc$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
  • Method Details

    • dispenseSilently

      public ItemStack dispenseSilently​(BlockPointer pointer, ItemStack stack)
      Overrides:
      dispenseSilently in class ItemDispenserBehavior
      Mappings:
      Namespace Name Mixin selector
      official a Lgx;a(Lfy;Lbnv;)Lbnv;
      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 Lgx;a(Lfy;)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