Interface EncasedBlock

All Known Implementing Classes:
EncasedCogwheelBlock, EncasedPipeBlock, EncasedShaftBlock

public interface EncasedBlock
Implement this interface to indicate that this block is encased.
  • Method Summary

    Modifier and Type
    Method
    Description
    net.minecraft.world.level.block.Block
     
    default void
    handleEncasing(net.minecraft.world.level.block.state.BlockState state, net.minecraft.world.level.Level level, net.minecraft.core.BlockPos pos, net.minecraft.world.item.ItemStack heldItem, net.minecraft.world.entity.player.Player player, net.minecraft.world.InteractionHand hand, net.minecraft.world.phys.BlockHitResult ray)
  • Method Details

    • getCasing

      net.minecraft.world.level.block.Block getCasing()
    • handleEncasing

      default void handleEncasing(net.minecraft.world.level.block.state.BlockState state, net.minecraft.world.level.Level level, net.minecraft.core.BlockPos pos, net.minecraft.world.item.ItemStack heldItem, net.minecraft.world.entity.player.Player player, net.minecraft.world.InteractionHand hand, net.minecraft.world.phys.BlockHitResult ray)