History - net.minecraft.item.ItemPlacementContext

26.3-snapshot-3

Names

Fields

Constructors

Methods

26.3-snapshot-2

Names

Fields

Constructors

Methods

26.3-snapshot-1

Names

Fields

Constructors

Methods

26.2

Names

Fields

Constructors

Methods

26.1.2

Names

Fields

Constructors

Methods

26.1.1

Names

Fields

Constructors

Methods

26.1

Names

Fields

Constructors

Methods

1.21.11_unobfuscated

Names

net.minecraft.world.item.context.BlockPlaceContext

net.minecraft.class_1750

net.minecraft.item.ItemPlacementContext

Fields

BlockPos: relativePos, field_7903, placementPos

boolean: replaceClicked, field_7904, canReplaceExisting

Constructors

(PlayerEntity, Hand, ItemStack, BlockHitResult)

(ItemUsageContext)

(World, PlayerEntity, Hand, ItemStack, BlockHitResult)

Methods

ItemPlacementContext (ItemPlacementContext, BlockPos, Direction): at, method_16355, offset

BlockPos (): getClickedPos, method_8037, getBlockPos

boolean (): canPlace, method_7716, canPlace

boolean (): replacingClickedOnBlock, method_7717, canReplaceExisting

Direction (): getNearestLookingDirection, method_7715, getPlayerLookDirection

Direction (): getNearestLookingVerticalDirection, method_32760, getVerticalPlayerLookDirection

Direction[] (): getNearestLookingDirections, method_7718, getPlacementDirections