canPlaceAsync

fun canPlaceAsync(tileEntity: TileEntity, item: ItemStack, pos: BlockPos): CompletableFuture<Boolean>

Checks if the tileEntity can place that item at that pos.


fun canPlaceAsync(player: OfflinePlayer, item: ItemStack, pos: BlockPos): CompletableFuture<Boolean>

Checks if the player can place that item at that pos.