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_338635_, ItemStack p_338423_) protected void
playSound
(BlockSource p_338184_) Methods inherited from class net.minecraft.core.dispenser.DefaultDispenseItemBehavior
dispense, playAnimation, spawnItem
-
Field Details
-
projectileItem
-
dispenseConfig
-
-
Constructor Details
-
ProjectileDispenseBehavior
-
-
Method Details
-
execute
- Overrides:
execute
in classDefaultDispenseItemBehavior
-
playSound
- Overrides:
playSound
in classDefaultDispenseItemBehavior
-