Class DeployerHandler

java.lang.Object
com.simibubi.create.content.kinetics.deployer.DeployerHandler

public class DeployerHandler extends Object
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final Map<net.minecraft.core.BlockPos,List<net.minecraft.world.entity.item.ItemEntity>>
     
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    static net.minecraft.world.InteractionResult
    safeOnUse(net.minecraft.world.level.block.state.BlockState state, net.minecraft.world.level.Level world, net.minecraft.core.BlockPos pos, net.minecraft.world.entity.player.Player player, net.minecraft.world.InteractionHand hand, net.minecraft.world.phys.BlockHitResult ray)
     
    static boolean
    tryHarvestBlock(net.minecraft.server.level.ServerPlayer player, net.minecraft.server.level.ServerPlayerGameMode interactionManager, net.minecraft.core.BlockPos pos)
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

    • CAPTURED_BLOCK_DROPS_VIEW

      public static final Map<net.minecraft.core.BlockPos,List<net.minecraft.world.entity.item.ItemEntity>> CAPTURED_BLOCK_DROPS_VIEW
  • Constructor Details

    • DeployerHandler

      public DeployerHandler()
  • Method Details

    • tryHarvestBlock

      public static boolean tryHarvestBlock(net.minecraft.server.level.ServerPlayer player, net.minecraft.server.level.ServerPlayerGameMode interactionManager, net.minecraft.core.BlockPos pos)
    • safeOnUse

      public static net.minecraft.world.InteractionResult safeOnUse(net.minecraft.world.level.block.state.BlockState state, net.minecraft.world.level.Level world, net.minecraft.core.BlockPos pos, net.minecraft.world.entity.player.Player player, net.minecraft.world.InteractionHand hand, net.minecraft.world.phys.BlockHitResult ray)