public static class Bootstrap.BehaviorDispenseBoat extends BehaviorDefaultDispenseItem
Modifier and Type | Field and Description |
---|---|
private EntityBoat.Type |
boatType |
private BehaviorDefaultDispenseItem |
dispenseBehavior |
DEFAULT_BEHAVIOR
Constructor and Description |
---|
BehaviorDispenseBoat(EntityBoat.Type boatTypeIn) |
Modifier and Type | Method and Description |
---|---|
ItemStack |
dispenseStack(IBlockSource source,
ItemStack stack) |
protected void |
playDispenseSound(IBlockSource source) |
dispense, doDispense, spawnDispenseParticles
private final BehaviorDefaultDispenseItem dispenseBehavior
private final EntityBoat.Type boatType
public BehaviorDispenseBoat(EntityBoat.Type boatTypeIn)
public ItemStack dispenseStack(IBlockSource source, ItemStack stack)
dispenseStack
in class BehaviorDefaultDispenseItem
protected void playDispenseSound(IBlockSource source)
playDispenseSound
in class BehaviorDefaultDispenseItem