public class BehaviorDefaultDispenseItem extends java.lang.Object implements IBehaviorDispenseItem
DEFAULT_BEHAVIOR
Constructor and Description |
---|
BehaviorDefaultDispenseItem() |
Modifier and Type | Method and Description |
---|---|
ItemStack |
dispense(IBlockSource source,
ItemStack stack) |
protected ItemStack |
dispenseStack(IBlockSource source,
ItemStack stack) |
static void |
doDispense(World worldIn,
ItemStack stack,
int speed,
EnumFacing facing,
IPosition position) |
protected void |
playDispenseSound(IBlockSource source) |
protected void |
spawnDispenseParticles(IBlockSource source,
EnumFacing facingIn) |
public final ItemStack dispense(IBlockSource source, ItemStack stack)
dispense
in interface IBehaviorDispenseItem
protected ItemStack dispenseStack(IBlockSource source, ItemStack stack)
public static void doDispense(World worldIn, ItemStack stack, int speed, EnumFacing facing, IPosition position)
protected void playDispenseSound(IBlockSource source)
protected void spawnDispenseParticles(IBlockSource source, EnumFacing facingIn)