Package net.minecraft.block.dispenser
Class MinecartDispenserBehavior
java.lang.Object
net.minecraft.block.dispenser.ItemDispenserBehavior
net.minecraft.block.dispenser.MinecartDispenserBehavior
- All Implemented Interfaces:
DispenserBehavior
- Mappings:
Namespace Name named net/minecraft/block/dispenser/MinecartDispenserBehavior
intermediary net/minecraft/class_10242
official ld
-
Field Summary
Modifier and TypeFieldDescriptionprivate final ItemDispenserBehavior
private final EntityType
<? extends AbstractMinecartEntity> Fields inherited from interface net.minecraft.block.dispenser.DispenserBehavior
LOGGER, NOOP
-
Constructor Summary
ConstructorDescriptionMinecartDispenserBehavior
(EntityType<? extends AbstractMinecartEntity> minecartEntityType) -
Method Summary
Modifier and TypeMethodDescriptiondispenseSilently
(BlockPointer pointer, ItemStack stack) private static RailShape
getRailShape
(BlockState state) protected void
playSound
(BlockPointer pointer) Methods inherited from class net.minecraft.block.dispenser.ItemDispenserBehavior
decrementStackWithRemainder, dispense, spawnItem, spawnParticles
-
Field Details
-
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
- 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
- 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
- Overrides:
dispenseSilently
in classItemDispenserBehavior
- 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
- 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
- Overrides:
playSound
in classItemDispenserBehavior
- 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
-