Class MinecartDispenserBehavior

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

public class MinecartDispenserBehavior extends ItemDispenserBehavior
Mappings:
Namespace Name
named net/minecraft/block/dispenser/MinecartDispenserBehavior
intermediary net/minecraft/class_10242
official ld
  • Field Details

    • fallbackBehavior

      private final ItemDispenserBehavior fallbackBehavior
      Mappings:
      Namespace Name Mixin selector
      named fallbackBehavior Lnet/minecraft/block/dispenser/MinecartDispenserBehavior;fallbackBehavior:Lnet/minecraft/block/dispenser/ItemDispenserBehavior;
      intermediary field_54392 Lnet/minecraft/class_10242;field_54392:Lnet/minecraft/class_2347;
      official c Lld;c:Lla;
    • minecartEntityType

      private final EntityType<? extends AbstractMinecartEntity> minecartEntityType
      Mappings:
      Namespace Name Mixin selector
      named minecartEntityType Lnet/minecraft/block/dispenser/MinecartDispenserBehavior;minecartEntityType:Lnet/minecraft/entity/EntityType;
      intermediary field_54393 Lnet/minecraft/class_10242;field_54393:Lnet/minecraft/class_1299;
      official d Lld;d:Lbvq;
  • Constructor Details

    • MinecartDispenserBehavior

      public MinecartDispenserBehavior(EntityType<? extends AbstractMinecartEntity> minecartEntityType)
      Mappings:
      Namespace Name Mixin selector
      named <init> Lnet/minecraft/block/dispenser/MinecartDispenserBehavior;<init>(Lnet/minecraft/entity/EntityType;)V
      intermediary <init> Lnet/minecraft/class_10242;<init>(Lnet/minecraft/class_1299;)V
      official <init> Lld;<init>(Lbvq;)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 Lla;a(Lky;Lcxo;)Lcxo;
    • getRailShape

      private static RailShape getRailShape(BlockState state)
      Mappings:
      Namespace Name Mixin selector
      named getRailShape Lnet/minecraft/block/dispenser/MinecartDispenserBehavior;getRailShape(Lnet/minecraft/block/BlockState;)Lnet/minecraft/block/enums/RailShape;
      intermediary method_64377 Lnet/minecraft/class_10242;method_64377(Lnet/minecraft/class_2680;)Lnet/minecraft/class_2768;
      official a Lld;a(Ldxu;)Ldyx;
    • 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 Lla;a(Lky;)V