Class BlockBreakDestructorStrategyFactory
java.lang.Object
com.refinedmods.refinedstorage.common.constructordestructor.BlockBreakDestructorStrategyFactory
- All Implemented Interfaces:
DestructorStrategyFactory
public class BlockBreakDestructorStrategyFactory
extends Object
implements DestructorStrategyFactory
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptioncreate
(net.minecraft.server.level.ServerLevel level, net.minecraft.core.BlockPos pos, net.minecraft.core.Direction direction, UpgradeState upgradeState, boolean pickupItems) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com.refinedmods.refinedstorage.common.api.constructordestructor.DestructorStrategyFactory
getPriority
-
Constructor Details
-
BlockBreakDestructorStrategyFactory
public BlockBreakDestructorStrategyFactory()
-
-
Method Details
-
create
public Optional<DestructorStrategy> create(net.minecraft.server.level.ServerLevel level, net.minecraft.core.BlockPos pos, net.minecraft.core.Direction direction, UpgradeState upgradeState, boolean pickupItems) - Specified by:
create
in interfaceDestructorStrategyFactory
-