Class CustomBlockPlaceContext

java.lang.Object
net.minecraft.world.item.context.UseOnContext
net.minecraft.world.item.context.BlockPlaceContext
com.refinedmods.refinedstorage.common.util.CustomBlockPlaceContext

public class CustomBlockPlaceContext extends net.minecraft.world.item.context.BlockPlaceContext
  • Field Summary

    Fields inherited from class net.minecraft.world.item.context.BlockPlaceContext

    replaceClicked
  • Constructor Summary

    Constructors
    Constructor
    Description
    CustomBlockPlaceContext(net.minecraft.world.level.Level level, net.minecraft.world.entity.player.Player player, net.minecraft.world.InteractionHand hand, net.minecraft.world.item.ItemStack stack, net.minecraft.world.phys.BlockHitResult rayTraceResult)
     
  • Method Summary

    Methods inherited from class net.minecraft.world.item.context.BlockPlaceContext

    at, canPlace, getClickedPos, getNearestLookingDirection, getNearestLookingDirections, getNearestLookingVerticalDirection, replacingClickedOnBlock

    Methods inherited from class net.minecraft.world.item.context.UseOnContext

    getClickedFace, getClickLocation, getHand, getHitResult, getHorizontalDirection, getItemInHand, getLevel, getPlayer, getRotation, isInside, isSecondaryUseActive

    Methods inherited from class java.lang.Object

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

    • CustomBlockPlaceContext

      public CustomBlockPlaceContext(net.minecraft.world.level.Level level, @Nullable net.minecraft.world.entity.player.Player player, net.minecraft.world.InteractionHand hand, net.minecraft.world.item.ItemStack stack, net.minecraft.world.phys.BlockHitResult rayTraceResult)