Package net.minecraft.dispenser
Class BehaviorProjectileDispense
- java.lang.Object
-
- net.minecraft.dispenser.BehaviorDefaultDispenseItem
-
- net.minecraft.dispenser.BehaviorProjectileDispense
-
- All Implemented Interfaces:
IBehaviorDispenseItem
public abstract class BehaviorProjectileDispense extends BehaviorDefaultDispenseItem
-
-
Field Summary
-
Fields inherited from interface net.minecraft.dispenser.IBehaviorDispenseItem
itemDispenseBehaviorProvider
-
-
Constructor Summary
Constructors Constructor Description BehaviorProjectileDispense()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description ItemStack
dispenseStack(IBlockSource iblocksource, ItemStack itemstack)
+ Dispense the specified stack, play the dispense sound and spawn particles.protected float
func_82498_a()
protected float
func_82500_b()
protected abstract IProjectile
getProjectileEntity(World var1, IPosition var2)
protected void
playDispenseSound(IBlockSource iblocksource)
+ Play the dispense sound from the specified block.-
Methods inherited from class net.minecraft.dispenser.BehaviorDefaultDispenseItem
dispense, doDispense, spawnDispenseParticles
-
-
-
-
Method Detail
-
dispenseStack
public ItemStack dispenseStack(IBlockSource iblocksource, ItemStack itemstack)
+ Dispense the specified stack, play the dispense sound and spawn particles.- Overrides:
dispenseStack
in classBehaviorDefaultDispenseItem
-
playDispenseSound
protected void playDispenseSound(IBlockSource iblocksource)
+ Play the dispense sound from the specified block.- Overrides:
playDispenseSound
in classBehaviorDefaultDispenseItem
-
getProjectileEntity
protected abstract IProjectile getProjectileEntity(World var1, IPosition var2)
-
func_82498_a
protected float func_82498_a()
-
func_82500_b
protected float func_82500_b()
-
-