public class BoatDispenserBehavior extends ItemDispenserBehavior
Modifier and Type | Field and Description |
---|---|
private BoatEntity.Type |
boatType |
private ItemDispenserBehavior |
itemDispenser |
NOOP
Constructor and Description |
---|
BoatDispenserBehavior(BoatEntity.Type type) |
Modifier and Type | Method and Description |
---|---|
ItemStack |
dispenseSilently(BlockPointer pointer,
ItemStack stack) |
protected void |
playSound(BlockPointer pointer) |
dispense, spawnItem, spawnParticles
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
method_27042, registerDefaults
private final ItemDispenserBehavior itemDispenser
private final BoatEntity.Type boatType
public BoatDispenserBehavior(BoatEntity.Type type)
public ItemStack dispenseSilently(BlockPointer pointer, ItemStack stack)
dispenseSilently
in class ItemDispenserBehavior
protected void playSound(BlockPointer pointer)
playSound
in class ItemDispenserBehavior