Package net.minecraft.dispenser
Class BeehiveDispenseBehavior
java.lang.Object
net.minecraft.dispenser.DefaultDispenseItemBehavior
net.minecraft.dispenser.OptionalDispenseBehavior
net.minecraft.dispenser.BeehiveDispenseBehavior
- All Implemented Interfaces:
IDispenseItemBehavior
-
Field Summary
Fields inherited from interface net.minecraft.dispenser.IDispenseItemBehavior
LOGGER, NOOP
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected ItemStack
execute
(IBlockSource p_82487_1_, ItemStack p_82487_2_) private static boolean
tryShearBeehive
(ServerWorld p_239797_0_, BlockPos p_239797_1_) private static boolean
tryShearLivingEntity
(ServerWorld p_239798_0_, BlockPos p_239798_1_) Methods inherited from class net.minecraft.dispenser.OptionalDispenseBehavior
isSuccess, playSound, setSuccess
Methods inherited from class net.minecraft.dispenser.DefaultDispenseItemBehavior
dispense, playAnimation, spawnItem
-
Constructor Details
-
BeehiveDispenseBehavior
public BeehiveDispenseBehavior()
-
-
Method Details
-
execute
- Overrides:
execute
in classDefaultDispenseItemBehavior
-
tryShearBeehive
-
tryShearLivingEntity
-