Package net.minecraft.core.dispenser
Class BoatDispenseItemBehavior
java.lang.Object
net.minecraft.core.dispenser.DefaultDispenseItemBehavior
net.minecraft.core.dispenser.BoatDispenseItemBehavior
- All Implemented Interfaces:
DispenseItemBehavior
-
Field Summary
Modifier and TypeFieldDescriptionprivate final DefaultDispenseItemBehavior
private final boolean
private final Boat.Type
Fields inherited from interface net.minecraft.core.dispenser.DispenseItemBehavior
LOGGER, NOOP
-
Constructor Summary
ConstructorDescriptionBoatDispenseItemBehavior
(Boat.Type p_123371_) BoatDispenseItemBehavior
(Boat.Type p_235891_, boolean p_235892_) -
Method Summary
Modifier and TypeMethodDescriptionexecute
(BlockSource p_302460_, ItemStack p_123376_) protected void
playSound
(BlockSource p_302465_) Methods inherited from class net.minecraft.core.dispenser.DefaultDispenseItemBehavior
consumeWithRemainder, dispense, playAnimation, spawnItem
-
Field Details
-
defaultDispenseItemBehavior
-
type
-
isChestBoat
private final boolean isChestBoat
-
-
Constructor Details
-
BoatDispenseItemBehavior
-
BoatDispenseItemBehavior
-
-
Method Details
-
execute
- Overrides:
execute
in classDefaultDispenseItemBehavior
-
playSound
- Overrides:
playSound
in classDefaultDispenseItemBehavior
-