Package net.minecraft.core.dispenser
Class ProjectileDispenseBehavior
java.lang.Object
net.minecraft.core.dispenser.DefaultDispenseItemBehavior
net.minecraft.core.dispenser.ProjectileDispenseBehavior
- All Implemented Interfaces:
DispenseItemBehavior
-
Field Summary
Modifier and TypeFieldDescriptionprivate final ProjectileItem.DispenseConfig
private final ProjectileItem
Fields inherited from interface net.minecraft.core.dispenser.DispenseItemBehavior
LOGGER, NOOP
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionexecute
(BlockSource p_334330_, ItemStack p_328814_) protected void
playSound
(BlockSource p_330598_) Methods inherited from class net.minecraft.core.dispenser.DefaultDispenseItemBehavior
consumeWithRemainder, dispense, playAnimation, spawnItem
-
Field Details
-
projectileItem
-
dispenseConfig
-
-
Constructor Details
-
ProjectileDispenseBehavior
-
-
Method Details
-
execute
- Overrides:
execute
in classDefaultDispenseItemBehavior
-
playSound
- Overrides:
playSound
in classDefaultDispenseItemBehavior
-