public class DefaultDispenseItemBehavior extends java.lang.Object implements IDispenseItemBehavior
LOGGER, NOOP
Constructor and Description |
---|
DefaultDispenseItemBehavior() |
Modifier and Type | Method and Description |
---|---|
ItemStack |
dispense(IBlockSource p_dispense_1_,
ItemStack p_dispense_2_) |
protected ItemStack |
execute(IBlockSource p_82487_1_,
ItemStack p_82487_2_) |
protected void |
playAnimation(IBlockSource p_82489_1_,
Direction p_82489_2_) |
protected void |
playSound(IBlockSource p_82485_1_) |
static void |
spawnItem(World p_82486_0_,
ItemStack p_82486_1_,
int p_82486_2_,
Direction p_82486_3_,
IPosition p_82486_4_) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
bootStrap, setEntityPokingOutOfBlock
public final ItemStack dispense(IBlockSource p_dispense_1_, ItemStack p_dispense_2_)
dispense
in interface IDispenseItemBehavior
protected ItemStack execute(IBlockSource p_82487_1_, ItemStack p_82487_2_)
public static void spawnItem(World p_82486_0_, ItemStack p_82486_1_, int p_82486_2_, Direction p_82486_3_, IPosition p_82486_4_)
protected void playSound(IBlockSource p_82485_1_)
protected void playAnimation(IBlockSource p_82489_1_, Direction p_82489_2_)