Package net.minecraft.dispenser
Class ProjectileDispenseBehavior
java.lang.Object
net.minecraft.dispenser.DefaultDispenseItemBehavior
net.minecraft.dispenser.ProjectileDispenseBehavior
- All Implemented Interfaces:
IDispenseItemBehavior
-
Field Summary
Fields inherited from interface net.minecraft.dispenser.IDispenseItemBehavior
LOGGER, NOOP
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionexecute
(IBlockSource p_82487_1_, ItemStack p_82487_2_) protected float
getPower()
protected abstract ProjectileEntity
getProjectile
(World p_82499_1_, IPosition p_82499_2_, ItemStack p_82499_3_) protected float
protected void
playSound
(IBlockSource p_82485_1_) Methods inherited from class net.minecraft.dispenser.DefaultDispenseItemBehavior
dispense, playAnimation, spawnItem
-
Constructor Details
-
ProjectileDispenseBehavior
public ProjectileDispenseBehavior()
-
-
Method Details
-
execute
- Overrides:
execute
in classDefaultDispenseItemBehavior
-
playSound
- Overrides:
playSound
in classDefaultDispenseItemBehavior
-
getProjectile
protected abstract ProjectileEntity getProjectile(World p_82499_1_, IPosition p_82499_2_, ItemStack p_82499_3_) -
getUncertainty
protected float getUncertainty() -
getPower
protected float getPower()
-