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
-
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
-
boatType
-
-
Constructor Details
-
BoatDispenserBehavior
-
-
Method Details
-
dispenseSilently
- Overrides:
dispenseSilently
in classItemDispenserBehavior
-
playSound
- Overrides:
playSound
in classItemDispenserBehavior
-