Package net.minecraft.dispenser
Class DispenseBoatBehavior
- java.lang.Object
-
- net.minecraft.dispenser.DefaultDispenseItemBehavior
-
- net.minecraft.dispenser.DispenseBoatBehavior
-
- All Implemented Interfaces:
IDispenseItemBehavior
public class DispenseBoatBehavior extends DefaultDispenseItemBehavior
-
-
Field Summary
Fields Modifier and Type Field Description private DefaultDispenseItemBehavior
defaultDispenseItemBehavior
private BoatEntity.Type
type
-
Fields inherited from interface net.minecraft.dispenser.IDispenseItemBehavior
LOGGER, NOOP
-
-
Constructor Summary
Constructors Constructor Description DispenseBoatBehavior(BoatEntity.Type p_i50793_1_)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ItemStack
execute(IBlockSource p_82487_1_, ItemStack p_82487_2_)
protected void
playSound(IBlockSource p_82485_1_)
-
Methods inherited from class net.minecraft.dispenser.DefaultDispenseItemBehavior
dispense, playAnimation, spawnItem
-
-
-
-
Field Detail
-
defaultDispenseItemBehavior
private final DefaultDispenseItemBehavior defaultDispenseItemBehavior
-
type
private final BoatEntity.Type type
-
-
Constructor Detail
-
DispenseBoatBehavior
public DispenseBoatBehavior(BoatEntity.Type p_i50793_1_)
-
-
Method Detail
-
execute
public ItemStack execute(IBlockSource p_82487_1_, ItemStack p_82487_2_)
- Overrides:
execute
in classDefaultDispenseItemBehavior
-
playSound
protected void playSound(IBlockSource p_82485_1_)
- Overrides:
playSound
in classDefaultDispenseItemBehavior
-
-