YATS/Forge Documentation
|
Public Member Functions | |
ItemStack | dispenseStack (IBlockSource par1IBlockSource, ItemStack par2ItemStack) |
Public Member Functions inherited from net.minecraft.dispenser.BehaviorDefaultDispenseItem | |
final ItemStack | dispense (IBlockSource par1IBlockSource, ItemStack par2ItemStack) |
Protected Member Functions | |
void | playDispenseSound (IBlockSource par1IBlockSource) |
abstract IProjectile | getProjectileEntity (World world, IPosition iposition) |
float | func_82498_a () |
float | func_82500_b () |
Protected Member Functions inherited from net.minecraft.dispenser.BehaviorDefaultDispenseItem | |
ItemStack | dispenseStack (IBlockSource par1IBlockSource, ItemStack par2ItemStack) |
void | playDispenseSound (IBlockSource par1IBlockSource) |
void | spawnDispenseParticles (IBlockSource par1IBlockSource, EnumFacing par2EnumFacing) |
Additional Inherited Members | |
Static Public Member Functions inherited from net.minecraft.dispenser.BehaviorDefaultDispenseItem | |
static void | doDispense (World par0World, ItemStack par1ItemStack, int par2, EnumFacing par3EnumFacing, IPosition par4IPosition) |
Public Attributes inherited from net.minecraft.dispenser.IBehaviorDispenseItem | |
IBehaviorDispenseItem | itemDispenseBehaviorProvider = new BehaviorDispenseItemProvider() |
ItemStack net.minecraft.dispenser.BehaviorProjectileDispense.dispenseStack | ( | IBlockSource | par1IBlockSource, |
ItemStack | par2ItemStack | ||
) |
Dispense the specified stack, play the dispense sound and spawn particles.
|
protected |
|
protected |
|
protectedpure virtual |
Return the projectile entity spawned by this dispense behavior.
|
protected |
Play the dispense sound from the specified block.