Package net.minecraft.block.dispenser
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 Summary
Fields Modifier and Type Field Description private BoatEntity.Type
boatType
private ItemDispenserBehavior
itemDispenser
Fields inherited from interface net.minecraft.block.dispenser.DispenserBehavior
NOOP
-
Constructor Summary
Constructors Constructor Description BoatDispenserBehavior(BoatEntity.Type type)
-
Method Summary
Modifier and Type Method Description ItemStack
dispenseSilently(BlockPointer pointer, ItemStack stack)
protected void
playSound(BlockPointer pointer)
Methods inherited from class net.minecraft.block.dispenser.ItemDispenserBehavior
dispense, spawnItem, spawnParticles
-
Field Details
-
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
- 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
- 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
- Overrides:
dispenseSilently
in classItemDispenserBehavior
- 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
- Overrides:
playSound
in classItemDispenserBehavior
- 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
-