Package net.minecraft.dispenser
Class DefaultDispenseItemBehavior
java.lang.Object
net.minecraft.dispenser.DefaultDispenseItemBehavior
- All Implemented Interfaces:
IDispenseItemBehavior
- Direct Known Subclasses:
DispenseBoatBehavior
,DispenseFluidContainer
,OptionalDispenseBehavior
,ProjectileDispenseBehavior
-
Field Summary
Fields inherited from interface net.minecraft.dispenser.IDispenseItemBehavior
LOGGER, NOOP
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionfinal ItemStack
dispense
(IBlockSource p_dispense_1_, ItemStack p_dispense_2_) protected ItemStack
execute
(IBlockSource p_82487_1_, ItemStack p_82487_2_) protected void
playAnimation
(IBlockSource p_82489_1_, Direction p_82489_2_) protected void
playSound
(IBlockSource p_82485_1_) static void
spawnItem
(World p_82486_0_, ItemStack p_82486_1_, int p_82486_2_, Direction p_82486_3_, IPosition p_82486_4_)
-
Constructor Details
-
DefaultDispenseItemBehavior
public DefaultDispenseItemBehavior()
-
-
Method Details
-
dispense
- Specified by:
dispense
in interfaceIDispenseItemBehavior
-
execute
-
spawnItem
-
playSound
-
playAnimation
-